setSidebarView(view)
Prebuilt
Custom
Fires a sidebar-view-changed event when the view changes.
Parameters
SidebarView
required
The panel to open, or
null to close the sidebar. Built-in values:Custom sidebar integration names (as defined in
setCustomIntegrations()) are also accepted.Return value
Returnsthis for chaining.