This package has been deprecated

Author message:

Please use the new scope @axa-ch-webhub-cloud

@axa-ch/cookie-disclaimer

6.1.5 • Public • Published

Cookie disclaimer

Shows a message that explains the conditions of the Data Protection Act. By clicking on the button, the component stores the date and time as an identifier in the local storage, tracking when the user has clicked. If an identifier is stored, the cookie disclaimer wont show anymore till the user deletes its cache.

Properties

Variant

Attribute Details
variant="fixed" Adds position fixed and put it to the end of the viewport

Title

The attribute title specifies the title of the cookie disclaimer

Button Name

The attribute buttonname specifies the text on the accept button

onClick

The function-valued attribute onClick can be used as a callback prop for React and other frameworks.

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/cookie-disclaimer

Weekly Downloads

3

Version

6.1.5

License

Copyright 2019 AXA Versicherungen AG

Unpacked Size

56.4 kB

Total Files

7

Last publish

Collaborators

  • gianlucaguarini
  • valentin-hasler
  • marek.laco
  • domirs
  • axa-ch-user
  • matthias.zuercher
  • selinagahlinger