Greasy Fork is available in English.

Notify Library

Very Simple JS Notifications Library

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

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