Porsche Design System - Browser Notification
Stand-alone self invoking JS snippet to show a notification in case of unsupported browser features are detected or browser cookies are disabled.
Using the Browser Notification
Installation
Run the following command using npm:
npm install @porsche-design-system/browser-notification
If you prefer Yarn, use the following command instead:
yarn add @porsche-design-system/browser-notification
Usage
The package @porsche-design-system/browser-notification
provides several self-executing notifications that can be
bundled into your index.html depending on your use case:
includeOverlay()
includeBanner()
includeCookieOverlay()
License
- MIT