Skip to content

Message Panel

maxxflyer edited this page Jan 6, 2017 · 2 revisions

The Message Panel is a simple panel used to communicate basic things to the user.

Usually you open it this way:

setMsg(color,"custom message","start");

Where:

color is the color (red white orange etc. etc. or #ffffff etc. etc.)

"custom message" is the custom message you want to add, it can be also html

"start" can be ["start", "stop"] since the Message Panel works with Transaction Manager, and if you set "start" a loading icon will appear, while if you set stop the message panel will be visible WITHOUT the loading icon inside

You can hide it this way:

closeMsg();

Clone this wiki locally