WorkspaceContainer
Extends
Extended by
Constructors
new WorkspaceContainer()
new WorkspaceContainer():
WorkspaceContainer
Returns
Inherited from
Properties
_
_:
Record
<string
,EventsEntry
[]>
Inherited from
app
app:
App
Inherited from
component
component:
Component
Inherited from
containerEl
containerEl:
HTMLDivElement
Inherited from
dimension
dimension:
null
|number
Inherited from
doc
abstract
doc:Document
id
id:
string
Inherited from
parent
parent:
WorkspaceParent
Inherited from
parentSplit?
readonly
optional
parentSplit:WorkspaceParent
Inherited from
resizeHandleEl
resizeHandleEl:
HTMLHRElement
Inherited from
type
type:
string
Inherited from
win
abstract
win:Window
workspace
workspace:
Workspace
Inherited from
Methods
detach()
detach():
void
Returns
void
Inherited from
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
serialize()
serialize():
SerializedWorkspaceItem
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
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