Notify Library

Very Simple JS Notifications Library

目前為 2020-04-22 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/401626/796156/Notify%20Library.js

作者
PIZIDAVI
版本
1.1.2
建立日期
2020-04-21
更新日期
2020-04-22
尺寸
2.7 KB
授權條款
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();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址