API
API
constructor |
|
---|---|
height | Height of the component.
|
maximumHeight | Maximum height of the component.
|
maximumWidth | Maximum width of the component.
|
minimumHeight | Minimum height of the component.
|
minimumWidth | Minimum width of the component.
|
onDidActivePanelChange | Invoked when the active panel changes. May be undefined if no panel is active.
|
onDidAddPanel | Invoked when a panel is added. May be called multiple times when moving panels.
|
onDidLayoutChange | Invoked when any layout change occures, an aggregation of many events.
|
onDidLayoutFromJSON | Invoked after a layout is deserialzied using the fromJSON method.
|
onDidRemovePanel | Invoked when a panel is removed. May be called multiple times when moving panels.
|
orientation | Current orientation. Can be changed after initialization.
|
panels | All panel objects.
|
width | Width of the component.
|
addPanel | Add a panel and return the created object.
|
clear | Reset the component back to an empty and default state.
|
dispose | Release resources and teardown component. Do not call when using framework versions of dockview.
|
focus | Focus the component. Will try to focus an active panel if one exists.
|
fromJSON | Create a component from a serialized object.
|
getPanel | Get a panel object given a string id. May return undefined .
|
layout | Force resize the component to an exact width and height. Read about auto-resizing before using.
|
movePanel | Move a panel in a particular direction relative to another panel.
|
removePanel | Remove a panel given the panel object.
|
toJSON | Create a serialized object of the current component.
|
updateOptions |
|