setSidebarView()
setSidebarView( null | 'people' | 'chat' | 'network' | 'breakout' | string )
Compatibility:
Prebuilt
Custom
For Daily Prebuilt, used to open the sidebar to a focused tab or to close the sidebar.
To open the sidebar and/or focus a specific tab, the following values are accepted: "people"
, "chat"
, "network"
, "breakout"
, or a custom string
matching a customer-provided sidebar integration.
To close the sidebar, null
should be specified.
Changes to the sidebar result in a corresponding "sidebar-view-changed"
event being emitted.