Greasy Fork is available in English.

Notify Library

Very Simple JS Notifications Library

Versão de: 22/04/2020. Veja: a última versão.

Este script não deve ser instalado diretamente. Este script é uma biblioteca de outros scripts para incluir com o diretório meta // @require https://update.greasyfork.org/scripts/401626/796156/Notify%20Library.js

Autor
PIZIDAVI
Versão
1.1.2
Criado
21/04/2020
Atualizado
22/04/2020
Licença
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();