Greasy Fork is available in English.

Notify Library

Very Simple JS Notifications Library

Dit script moet niet direct worden geïnstalleerd - het is een bibliotheek voor andere scripts om op te nemen met de meta-richtlijn // @require https://update.greasyfork.org/scripts/401626/1109786/Notify%20Library.js

Maker
PIZIDAVI
Versie
2.0
Gemaakt op
21-04-2020
Bijgewerkt op
14-04-2021
Licentie
MIT

Notify Library

Very simple JS Notifications Library with integrated CSS

Options:

  • text string - (required)
  • type string - (optional)
    • success
    • info / information
    • warn / warning
    • error
  • timeout int - optional (default: 5000 ms)

Example

  new Notify({
      text: 'Notification Text',
      type: 'success',
      timeout: false // Sticky Notification
  }).show();