Sidebar front calls

This section describes sidebar drawer handling front calls.

This table shows the functions implemented in the sidebar module, to control the SideBarDrawer, the panel holding the application list and the start menu, opened by the App Grid Icon (the "nine-squares" icon) of the SideBarRail.

Table 1. Sidebar front-end functions
Function Name Description
ui.Interface.frontCall("sidebar", "setDrawerVisible",
   [visible], [result])
Shows or hides the sidebar drawer.
ui.Interface.frontCall("sidebar", "isDrawerVisible",
   [], [result])
Gets the current visibility of the sidebar drawer.
ui.Interface.frontCall("sidebar", "toggleDrawerVisibility",
   [], [result])
Toggles the visibility of the sidebar drawer.