4.1.4 • Published 2 years ago

@porsche-design-system/browser-notification v4.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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