Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

TheĀ  MasterLayout class handles the desktop and taskbar states layout states. The same action that is performed via the toggle desktop home button in the top left corner after login.


The class can be used to get the current active Master Layout and to switch between desktop and taskbar modes.

Examples:

Setting to taskbar mode example
akioma.MasterLayout.setMasterState("taskbar-mode"); // can also be "desktop-mode"
Master Layout toggle to desktop mode
akioma.MasterLayout.toggleDesktop(true);
const MasterState:DesktopMode = akioma.MasterLayout.getMasterState(); // can return "desktop-mode" or "taskbar-mode"

  • No labels