Repository URL to install this package:
|
Version:
2.29.6a ▾
|
$.noty.defaults =
layout: "top"
theme: "defaultTheme"
type: "default"
text: ""
dismissQueue: true # If you want to use queue feature set this true
template: "<div class=\"noty_message\"><span class=\"noty_text\"></span><div class=\"noty_close\"></div><div class=\"close-button hoverable\"><i class=\"svg-fill\"></div></div></div>"
animation:
open:
height: "toggle"
close:
height: "toggle"
easing: "swing"
speed: 500 # opening & closing animation speed
timeout: 3500 # delay for closing event. Set false for sticky notifications
force: false # adds notification to the beginning of queue when set to true
modal: false
closeWith: ["click"] # ['click', 'button', 'hover']
callback:
onShow: ->
afterShow: ->
onClose: ->
afterClose: ->
buttons: false # an array of buttons