Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
j_uikit / app / assets / javascripts / noty.js.coffee
Size: Mime:
$.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