Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Sidebar Event Hooks

Table of contents
  1. onSidebarEvent
    1. Trigger
    2. Parameter
    3. Parameter example

Sidebar is a menu bar on the left side of the UI. Sidebar items can be configured in the config.json file and the action handler can be defined through the event hook.

onSidebarEvent

Trigger

This event will be fired after a sidebar item is clicked. This event hook can be used to define the event handler for the click action.

Parameter

export class BroadcastEvent {
  name: string;
  parameter?: any;
  payload?: any;
}

Parameter example

onsidebarevent.png