Interface MessengerOptions

Index

Properties

Properties

optional public extraClasses?: string

Extra classes to be appended to the container.

optional public maxMessages?: number

The maximum number of messages to show at once.

optional public messageDefaults?: MessageOptions

Default options for created messages.

optional public parentLocations?: Array<string>

Which locations should be tried when inserting the message container into the page. The default is ['body']. It accepts a list to allow you to try a variety of places when deciding what the optimal location is on any given page. This should generally not need to be changed unless you are inserting the messages into the flow of the document, rather than using messenger-fixed.

optional public theme?: string

What theme are you using? Some themes have associated javascript, specifing this allows that js to run.