@europeana/feedback-widget

0.2.0 • Public • Published

Europeana feedback widget

Widget for sending feedback from, and about, Europeana websites.

Usage

To embed the feedback widget in your web page, add the stylesheet link, JS script, and a target element with id europeana-feedback-widget:

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@europeana/feedback-widget@0.2.0/dist/europeana-feedback-widget.css">
  </head>
  <body>
    <div id="europeana-feedback-widget"></div>
    <script
      type="module"
      src="https://cdn.jsdelivr.net/npm/@europeana/feedback-widget@0.2.0/dist/europeana-feedback-widget.js"
      integrity="sha384-u9uk9KOvOrG5X4yAGn1xMj1P5YmrJWanSqij7tvI4eZTjI/UQGK98lq3e/I6XfuP"
    ></script>
  </body>
</html>

Development

  • Install: pnpm install
  • Run development server: pnpm dev
  • Test: pnpm test:unit
  • Check code formatting: pnpm format
  • Check code quality: pnpm lint
  • Build library: pnpm build
  • Version library: pnpm version patch
  • Publish library to NPM: pnpm publish --access public

License

Licensed under the EUPL v1.2.

Readme

Keywords

Package Sidebar

Install

npm i @europeana/feedback-widget

Weekly Downloads

5

Version

0.2.0

License

EUPL-1.2

Unpacked Size

497 kB

Total Files

5

Last publish

Collaborators

  • leoniepeters
  • europeana-development
  • lbiedinger
  • rwdit