$layout
Updated on Aug 19, 2025 2 minutes to readThe Layout plugin provides methods to control UI elements programmatically from the server side.
It exposes methods to disable navigation bar, app bar, primary menu, and action menus.
Navigation Bar
Server-side control over the main navigation bar.

Method | Description |
---|---|
disable | Disables the navigation bar. |
App Bar
Server-side control over the top bar showing the current screen title.

Method | Description |
---|---|
disable | Disables the app bar. |
Primary Menu
Server-side control over the main menu.

Method | Description |
---|---|
disable | Disables the primary menu. |
Action1 Menu
Server-side control over quick access menu 1.

Method | Description |
---|---|
disable | Disables the Action1 menu. |
Action2 Menu
Server-side control over quick access menu 2.

Method | Description |
---|---|
disable | Disables the Action2 menu. |
Methods Details
action1Menu.disable()
• Type
() => void
action2Menu.disable()
• Type
() => void
appBar.disable()
• Type
() => void
navigationBar.disable()
• Type
() => void
primaryMenu.disable()
• Type
() => void