Global

Methods

flashMessage(msg, msgType, flashTime, className) → {Kekule.Widget.MsgPanel}

Add a flash message to message reporter of widget. If flashTime param is not set, default value will be used.
Parameters:
Name Type Description
msg String
msgType String
flashTime Int
className String Additional HTML class name need to add to new message panel widget.
Source:
Returns:
New message panel added to reporter.
Type
Kekule.Widget.MsgPanel

removeMessage(msgPanel)

Remove a message from reporter.
Parameters:
Name Type Description
msgPanel
Source:

reportMessage(msg, msgType, flashTime, className) → {Kekule.Widget.MsgPanel}

Add a message to message reporter of widget. If flashTime is not set, the message will always be shown in reporter.
Parameters:
Name Type Description
msg String
msgType String
flashTime Int
className String Additional HTML class name need to add to new message panel widget.
Source:
Returns:
New message panel added to reporter.
Type
Kekule.Widget.MsgPanel