WorkspaceSidedock
Extends
Constructors
new WorkspaceSidedock()
new WorkspaceSidedock():
WorkspaceSidedock
Returns
Inherited from
Properties
_
_:
Record
<string
,EventsEntry
[]>
Inherited from
allowSingleChild
allowSingleChild:
boolean
app
app:
App
Inherited from
autoManageDOM
autoManageDOM:
boolean
children
children:
WorkspaceTabs
[]
collapsed
collapsed:
boolean
component
component:
Component
Inherited from
containerEl
containerEl:
HTMLDivElement
Inherited from
dimension
dimension:
null
|number
Inherited from
direction
direction:
string
emptyStateEl
emptyStateEl:
HTMLDivElement
id
id:
string
Inherited from
isResizing
isResizing:
boolean
originalSizes
originalSizes:
null
parent
parent:
WorkspaceParent
Inherited from
parentSplit?
readonly
optional
parentSplit:WorkspaceParent
Inherited from
resizeHandleEl
resizeHandleEl:
HTMLHRElement
Inherited from
resizeStartPos
resizeStartPos:
null
side
side:
string
size
size:
number
type
type:
string
Inherited from
workspace
workspace:
Workspace
Inherited from
Methods
collapse()
collapse():
void
Returns
void
detach()
detach():
void
Returns
void
Inherited from
expand()
expand():
void
Returns
void
getContainer()
getContainer():
WorkspaceContainer
Get the root container parent item, which can be one of:
Returns
Inherited from
getIcon()
getIcon():
string
Returns
string
Inherited from
getRoot()
getRoot():
WorkspaceItem
Returns
Inherited from
off()
off(
name
,callback
):void
Parameters
• name: string
• callback
Returns
void
Inherited from
offref()
offref(
ref
):void
Parameters
• ref: EventRef
Returns
void
Inherited from
on()
on(
name
,callback
,ctx
?):EventRef
Parameters
• name: string
• callback
• ctx?: any
Returns
Inherited from
onResizeStart()
onResizeStart(
evt
):void
Parameters
• evt: MouseEvent
Returns
void
Inherited from
onSidedockResizeStart()
onSidedockResizeStart(
evt
):void
Parameters
• evt: MouseEvent
Returns
void
recomputeChildrenDimensions()
recomputeChildrenDimensions():
void
Returns
void
serialize()
serialize():
SerializedWorkspaceSidedock
Returns
Inherited from
setDimension()
setDimension(
dimension
):void
Parameters
• dimension: null
| number
Returns
void
Inherited from
setParent()
setParent(
parent
):void
Parameters
• parent: WorkspaceParent
Returns
void
Inherited from
setSize()
setSize(
size
):void
Parameters
• size: number
Returns
void
toggle()
toggle():
void
Returns
void
trigger()
trigger(
name
, …data
):void
Parameters
• name: string
• …data: unknown
[]
Returns
void
Inherited from
tryTrigger()
tryTrigger(
evt
,args
):void
Parameters
• evt: EventRef
• args: unknown
[]
Returns
void