@ewc-lib/ewc-footer-notes

1.0.1 • Public • Published

Screenshot

Screenshot

API

There are the following attributes:

  • note - sets the text of the footnote
  • url - sets the URL, opened in same tab

Note: changing these attributes during runtime has no effect.

Usage with WebPack

package.json

"dependencies": {
  "@ewc-lib/ewc-footer-notes": "^1.0.0"
}

index.html

<!DOCTYPE html>
<html>

  <head>
    <style>
      body{
          font-family: 'Arial', sans-serif;
          margin: 0;
        }
    </style>
  </head>

  <body>
      <script src="bundle.js"></script>

      <ewc-footer-notes 
        note="This is a demonstration of a footer note."
        url="https://ec.europa.eu/eurostat/">
      </ewc-footer-notes>
  </body>

</html>

index.js

import "@ewc-lib/ewc-footer-notes"

Readme

Keywords

none

Package Sidebar

Install

npm i @ewc-lib/ewc-footer-notes

Weekly Downloads

0

Version

1.0.1

License

EUPL v.1.1

Unpacked Size

15.4 kB

Total Files

5

Last publish

Collaborators

  • kuncisv
  • heppa
  • robert-estat-ext