4.1.4 • Published 3 years ago
@porsche-design-system/browser-notification v4.1.4
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-notificationIf you prefer Yarn, use the following command instead:
yarn add @porsche-design-system/browser-notificationUsage
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