Skip to content

cookie-disclaimer 6.2.0

Install from the command line:
Learn more about npm packages
$ npm install @axa-ch-webhub-cloud/cookie-disclaimer@6.2.0
Install via package.json:
"@axa-ch-webhub-cloud/cookie-disclaimer": "6.2.0"

About this version

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.

Details


Assets

  • cookie-disclaimer-6.2.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all