Notify Library

Very Simple JS Notifications Library

Version au 22/04/2020. Voir la dernière version.

Ce script ne doit pas être installé directement. C'est une librairie destinée à être incluse dans d'autres scripts avec la méta-directive // @require https://update.greasyfork.org/scripts/401626/796156/Notify%20Library.js

Auteur
PIZIDAVI
Version
1.1.2
Créé
21/04/2020
Mis à jour
22/04/2020
Taille
2,69 ko
Licence
MIT

Notify Library

Options:

  • text string - (required)
  • type string - (optional)
    • success
    • info / information
    • warn / warning
    • error
  • timeout number - (optional)

Example

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