This package has been deprecated

Author message:

Package is deprecated. Please use getBrowserSupportFallbackScript() and/or getCookiesFallbackScript() from @porsche-design-system/components-{js|angular|react} npm package >= v2.14.0 directly.

@porsche-design-system/browser-notification
TypeScript icon, indicating that this package has built-in type declarations

4.1.4 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i @porsche-design-system/browser-notification

Weekly Downloads

1

Version

4.1.4

License

MIT

Unpacked Size

1.03 MB

Total Files

22

Last publish

Collaborators

  • porschedesignsystem
  • stephanschroeter