Notify Library

Very Simple JS Notifications Library

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyfork.org/scripts/401626/1109786/Notify%20Library.js을(를) 사용하여 포함하는 라이브러리입니다.

작성자
PIZIDAVI
버전
2.0
생성일
2020-04-21
갱신일
2021-04-14
크기
2.78KB
라이선스
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();