@ewc-lib/ewc-footer-links

1.0.4-alpha • Public • Published

Screenshot

Screenshot

API

There are the following attributes:

  • email - sets the email adress for the feedback link
  • subject - sets the subject of the email

Note: changing these attributes during runtime has no effect.

The distance to the left and the right viewport borders default to "5%" and can be set via CSS. For example:

ewc-footer-links{padding: 0 16px 0 16px;}

Usage with WebPack

package.json

"dependencies": {
  "@ewc-lib/ewc-footer-links": "^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>

    <div style="width:100%;">
      <style>ewc-footer-links{padding: 0 20px 0 20px;}</style>
      <ewc-footer-links
        email="some-email-address@somewhere.earth"
        subject="This is the eMail's subject">
      </ewc-footer-links>
    </div>
  </body>

</html>

index.js

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.4-alpha4latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.4-alpha4
1.0.3-alpha1
1.0.2-alpha3
1.0.1-alpha1
1.0.10
1.0.00
0.3.00
0.1.00

Package Sidebar

Install

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

Weekly Downloads

9

Version

1.0.4-alpha

License

EUPL v.1.1

Unpacked Size

10.9 kB

Total Files

5

Last publish

Collaborators

  • mjaurena
  • kuncisv
  • heppa
  • robert-estat-ext