porsche-design-system / browser-notification

Standalone notification banner for deprecated browsers (IE11)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Standalone notification banner for deprecated browsers (IE11)

License:MIT License


Languages

Language:TypeScript 85.1%Language:Shell 8.4%Language:JavaScript 3.9%Language:HTML 1.4%Language:Dockerfile 1.2%