Notify Library

Very Simple JS Notifications Library

Version vom 14.04.2021. Aktuellste Version

Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.greasyfork.org/scripts/401626/921716/Notify%20Library.js

Autor
PIZIDAVI
Version
2.0
Erstellt am
21.04.2020
Letzte Aktualisierung
14.04.2021
Größe
2,78 KB
Lizenz
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: 5s)

Example

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