Notify Library

Very Simple JS Notifications Library

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @require https://update.greasyfork.org/scripts/401626/1109786/Notify%20Library.js

Tác giả
PIZIDAVI
Phiên bản
2.0
Đã tạo
21-04-2020
Đã cập nhật
14-04-2021
Size
3 KB
Giấy phép
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();