🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@axa-ch/cookie-disclaimer

Package Overview
Dependencies
Maintainers
49
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axa-ch/cookie-disclaimer

The cookie-disclaimer component for the AXA Pattern Library

latest
Source
npmnpm
Version
6.1.5
Version published
Maintainers
49
Created
Source

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

AttributeDetails
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.

FAQs

Package last updated on 06 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts