Show Sidebar

by @pixiebrix

Show/open the PixieBrix sidebar


How to Use

This brick opens the sidebar as if you manually clicked on the extension icon. This is useful in combination with the page state bricks (Set shared page state and Get shared page state) or other ways of storing data, where a context menu, button, or quick bar runs and a sidebar blueprint reads and displays data. As you can with almost any brick, you can use the target option to change which tab this happens on.

Examples


Inputs

Name Required Type Description
forcePanel boolean If the sidebar is already showing a panel, force switch the active panel
panelHeading string The panel to show in the sidebar. If not provided, defaults to a sidebar panel in this extension's blueprint

Outputs

Name Required Type Description
No outputs for this brick defined.

@pixiebrix/sidebar/show

Version

1.7.16

Created

Aug. 17, 2021

Updated

June 13, 2022