Interface pnotifyDefaults

Index

Properties

Properties

optional public addclass?: string

Additional classes to be added to the notice. (For custom styling.)

optional public animate_speed?: string

Speed at which the notice animates in and out. "slow", "def" or "normal", "fast" or number of milliseconds.

optional public animation?: any

The animation to use when displaying and hiding the notice. "none", "show", "fade", and "slide" are built in to jQuery. Others require jQuery UI. Use an object with effect_in and effect_out to use different effects.

optional public auto_display?: boolean

Display the notice when it is created. Turn this off to add notifications to the history without displaying them.

optional public closer?: boolean

Provide a button for the user to manually close the notice.

optional public closer_hover?: boolean

Only show the closer button on hover.

optional public cornerclass?: string

Class to be added to the notice for corner styling.

optional public delay?: number

Delay in milliseconds before the notice is removed.

optional public hide?: boolean

After a delay, remove the notice.

optional public history?: boolean

Display a pull down menu to redisplay previous notices, and place the notice in the history.

optional public icon?: any

Set icon to true to use the default icon for the selected style/type, false for no icon, or a string for your own icon class.

optional public insert_brs?: boolean

Change new lines to br tags.

optional public labels?: pnotifyLabel

The various displayed text, helps facilitating internationalization.

optional public maxonscreen?: number

Maximum number of notifications to have onscreen.

optional public min_height?: string

Minimum height of the notice. It will expand to fit content.

optional public mouse_reset?: boolean

Reset the hide timer if the mouse moves over the notice.

optional public nonblock?: boolean

Create a non-blocking notice. It lets the user click elements underneath it.

optional public nonblock_opacity?: number

The opacity of the notice (if it's non-blocking) when the mouse is over it.

optional public opacity?: number

Opacity of the notice.

optional public position_animate_speed?: number

Specify a specific duration of position animation

optional public remove?: boolean

Remove the notice's elements from the DOM after it is removed.

optional public shadow?: boolean

Display a drop shadow.

optional public stack?: pnotifyStack

The stack on which the notices will be placed. Also controls the direction the notices stack.

optional public sticker?: boolean

Provide a button for the user to manually stick the notice.

optional public sticker_hover?: boolean

Only show the sticker button on hover.

optional public styling?: string

What styling classes to use. (Can be either jqueryui or bootstrap.)

optional public text?: any

The notice's text. Either boolean false or string

optional public text_escape?: boolean

Whether to escape the content of the text. (Not allow HTML.)

optional public title?: any

The notice's title. Either boolean false or string

optional public title_escape?: boolean

Whether to escape the content of the title. (Not allow HTML.)

optional public type?: string

Type of the notice. "notice", "info", "success", or "error".

optional public width?: string

Width of the notice.