Dockview
Preparing search index...
dockview-core
CommonApi
Interface CommonApi<T>
interface
CommonApi
<
T
=
any
>
{
height
:
number
;
onDidLayoutChange
:
DockviewEvent
<
void
>
;
onDidLayoutFromJSON
:
DockviewEvent
<
void
>
;
width
:
number
;
clear
()
:
void
;
dispose
()
:
void
;
focus
()
:
void
;
fromJSON
(
data
:
T
)
:
void
;
layout
(
width
:
number
,
height
:
number
)
:
void
;
toJSON
()
:
T
;
}
Type Parameters
T
=
any
Implemented by
DockviewApi
GridviewApi
PaneviewApi
SplitviewApi
Index
Properties
height
on
Did
Layout
Change
on
Did
Layout
From
JSON
width
Methods
clear
dispose
focus
from
JSON
layout
to
JSON
Properties
Readonly
height
height
:
number
Readonly
on
Did
Layout
Change
onDidLayoutChange
:
DockviewEvent
<
void
>
Readonly
on
Did
Layout
From
JSON
onDidLayoutFromJSON
:
DockviewEvent
<
void
>
Readonly
width
width
:
number
Methods
clear
clear
()
:
void
Returns
void
dispose
dispose
()
:
void
Returns
void
focus
focus
()
:
void
Returns
void
from
JSON
fromJSON
(
data
:
T
)
:
void
Parameters
data
:
T
Returns
void
layout
layout
(
width
:
number
,
height
:
number
)
:
void
Parameters
width
:
number
height
:
number
Returns
void
to
JSON
toJSON
()
:
T
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
height
on
Did
Layout
Change
on
Did
Layout
From
JSON
width
Methods
clear
dispose
focus
from
JSON
layout
to
JSON
Dockview
Loading...