mirror of
https://github.com/mathuo/dockview
synced 2025-02-08 17:35:44 +00:00
Copying Sandbox change to corresponding Template
see prev. commit
This commit is contained in:
parent
cd91f4a4d3
commit
10fd5778dc
@ -124,6 +124,11 @@ const DockviewDemo = (props: { theme?: string }) => {
|
|||||||
|
|
||||||
const onReady = (event: DockviewReadyEvent) => {
|
const onReady = (event: DockviewReadyEvent) => {
|
||||||
setApi(event.api);
|
setApi(event.api);
|
||||||
|
setPanels([]);
|
||||||
|
setGroups([]);
|
||||||
|
setActivePanel(undefined);
|
||||||
|
setActiveGroup(undefined);
|
||||||
|
addLogLine(`Dockview Is Ready`);
|
||||||
};
|
};
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user