Last active
September 25, 2019 20:20
-
-
Save luislobo14rap/7c8cc6be5bb233177f1ee9b7af305a9a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// noty-default-options.json v1 | |
new Noty({ | |
"text": "ABC", | |
"type": "success", | |
"layout": "topRight", | |
"theme": "sunset", | |
"timeout": 5000, | |
"visibilityControl": true | |
}).show(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// noty-options.json v1 | |
new Noty({ | |
"text": "ABC", // text to show in notification | |
"type": "alert", // "alert", "success", "error", "warning", "info" | "alert" is default | |
"layout": "topRight", // "top", "topLeft", "topCenter", "topRight", "center", "centerLeft", "centerRight", "bottom", "bottomLeft", "bottomCenter", "bottomRight" | "bottomRight" is default | |
"theme": "sunset", // "mint", "sunset", "relax", "nest", "metroui", "semanticui", "light", "bootstrap-v3", "bootstrap-v4" | "mint" is default | |
"timeout": 5000, // false = sticky | false is default | |
"progressBar": true, // true is default | |
"closeWidth": ["click"], // ["click", "button"] | ["click"] is default, "button" is a X at the top right of the notification | |
"visibilityControl": true // ensures users do not lose their notifications. | false is default | |
}).show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment