Class: Messenger

Messenger

new Messenger()

Class to shoe message on viewer

Members

fadeTimeNumber

Get or set the time it take for the dialog to appear and disappear in milliseconds [Default: 500].

viewerViewer

Get the viewer.

visibleBoolean

Returns true if the dialog is visible.

Methods

close(duration)

Closes the messenger

Name Type Description
duration Number

The duration of the close animation in milliseconds. Defaults to fadeTime Messenger.fadeTime.

open(duration)

Opens the messenger

Name Type Description
duration Number

The duration of the open animation in milliseconds. Defaults to fadeTime Messenger.fadeTime.

toString(){String}

Return the class name as a string.

Returns:
Type Description
String
  • 'Messenger'