Notify Library

Very Simple JS Notifications Library

Από την 14/04/2021. Δείτε την τελευταία έκδοση.

Αυτός ο κώδικας δεν πρέπει να εγκατασταθεί άμεσα. Είναι μια βιβλιοθήκη για άλλους κώδικες που περιλαμβάνεται μέσω της οδηγίας meta // @require https://update.greasyfork.org/scripts/401626/921716/Notify%20Library.js

Δημιουργός
PIZIDAVI
Έκδοση
2.0
Δημιουργήθηκε την
21/04/2020
Ενημερώθηκε την
14/04/2021
Μέγεθος
3 KB
Άδεια
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();