This section describes how to serialize a dockview instance.
onDidLayoutChange | Invoked when any layout change occures, an aggregation of many events. |
|---|---|
toJSON | Create a serialized object of the current component. |
To retrieve the current state of the dock call toJSON().
You can listen to the event onDidlayoutChange to determine when the layout has changed.