To initiate: use app.UI.notify(priority, message, duration = 45);
 Which contains the first parameter priority, a number from 0 to 3 which indicates the message priority as defined.
  1. Success (Green)
  2. Information (Blue)
  3. Warning (Yellow)
  4. Error (Red)
 The second parameter message is the message that will be shown in the upcoming notification.

 The Third parameter duration is the time until the message automatically disappears after its instantiation, which defaults to 45 seconds. It can be set to 0 for never disappearing messages.

Structure example: app.UI.notify(1, "You are testing floating message dialog");
 This function returns the notification ID.


To close: use app.UI.notify.close(reference[, ...]);
 The only parameter reference can be an ID of the notification as a string or a htmlDOMobject of the notification element containing the class msg.
Note: This parameter can be stacked as many as you want. You can mix both string and object ones.

Structure example:
TypeCode
ID (string) app.UI.notify.close("xx1", "xx2", "xx3");
DOM (object) app.UI.notify.close(document.querySelector("app[name=main] > .notifications .msg.ref-xxx"));



To close all: use app.UI.notify.clear();
 Warning: This command closes all notifications in display. It accepts no parameters and returns nothing.