...
This window example is executed on main window init. It's adding an error message after 3 seconds and after 1 more second it clear all messages.
Code Block | ||
---|---|---|
| ||
akioma.buildMainLayoutTabs = function (self) { if (self.controller) { setTimeout(()=> { self.controller.addWindowMessage({ text: 'An new message', type: 'error' }) }, 3000) setTimeout(()=> { self.controller.clearWindowMessage(); }, 5000) |
Info | ||
---|---|---|
| ||
This is not the whole content of the buildMainLayoutTabs function. |