Files
jquery-notify/docs/src/views/sections/options.jade
T

43 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-01-18 20:51:42 +11:00
//- ====================================
//- OPTIONS
//- ====================================
.sixteen.columns
h3 Options
p
| The options object listed above are in the form below.
| This object below is the actual used to check option
| validity and set defaults.
pre.prettyprint.
{
// whether to hide the notification on click
clickToHide: true,
// whether to auto-hide the notification
autoHide: true,
// if autoHide, hide after milliseconds
autoHideDelay: 5000,
// show the arrow pointing at the element
arrowShow: true,
// arrow size in pixels
arrowSize: 5,
// default positions
elementPosition: 'bottom left',
globalPosition: 'top right',
// default style
style: 'bootstrap',
// default class (string or [string])
className: 'error',
// show animation
showAnimation: 'slideDown',
// show animation duration
showDuration: 400,
// hide animation
hideAnimation: 'slideUp',
// hide animation duration
hideDuration: 200,
// padding between element and notification
gap: 2
}