Interface MessageOptions

Index

Properties

Properties

optional public hideAfter?: number

Hide the message after the provided number of seconds.

optional public hideOnNavigate?: boolean

Hide the message if Backbone client-side navigation occurs.

optional public id?: string

A unique id. If supplied, only one message with that ID will be shown at a time.

public message: string

The text of the message.

optional public showCloseButton?: boolean

Should a close button be added to the message?

optional public singleton?: boolean

Hide the newer message if there is an id collision, as opposed to the older message.

optional public theme?: string

What theme class should be applied to the message? Defaults to the theme set for Messenger in general.

optional public type?: string

"info", "error" or "success" are understood by the provided themes. You can also pass your own string, and that class will be added.