DrawerWidgetSessionMixin
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Built into JBrowse core. View source.
Properties
| Member | Description |
|---|---|
| drawerPosition | |
| drawerWidth | |
widgetswidgets: types.stripDefault(types.map(widgetStateModelType), {}) | |
| activeWidgets | |
minimizedminimized: types.stripDefault(types.boolean, false) |
Volatiles
| Member | Description |
|---|---|
poppedOutpoppedOut: false | true while the visible widget is shown in a modal dialog instead of the drawer. Volatile because a restored session that opened straight into a modal, with no drawer behind it, is disorienting |
Getters
| Member | Description |
|---|---|
visibleWidgetWidget | undefined |
Actions
| Member | Description |
|---|---|
setDrawerPosition(arg: string) => void | |
updateDrawerWidth(drawerWidth: number) => number | |
resizeDrawer(distance: number) => number | |
| addWidget | |
showWidget(widget: any) => void | |
hideWidget(widget: any) => void | |
minimizeWidgetDrawer() => void | |
showWidgetDrawer() => void | |
popoutWidget() => void | show the visible widget in a modal dialog, freeing the drawer column |
returnWidgetToDrawer() => void | |
hideAllWidgets() => void | |
| editConfiguration | opens a configuration editor to configure the given thing, and sets the current task to be configuring it |
Related links
- Guide: Drawer widgets