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
라이선스
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();