Skip to content

WorkspaceContainer

Extends

Extended by

Constructors

new WorkspaceContainer()

new WorkspaceContainer(): WorkspaceContainer

Returns

WorkspaceContainer

Inherited from

WorkspaceSplit.constructor

Properties

_

_: Record<string, EventsEntry[]>

Inherited from

WorkspaceSplit._


app

app: App

Inherited from

WorkspaceSplit.app


component

component: Component

Inherited from

WorkspaceSplit.component


containerEl

containerEl: HTMLDivElement

Inherited from

WorkspaceSplit.containerEl


dimension

dimension: null | number

Inherited from

WorkspaceSplit.dimension


doc

abstract doc: Document


id

id: string

Inherited from

WorkspaceSplit.id


parent

parent: WorkspaceParent

Inherited from

WorkspaceSplit.parent


parentSplit?

readonly optional parentSplit: WorkspaceParent

Inherited from

WorkspaceSplit.parentSplit


resizeHandleEl

resizeHandleEl: HTMLHRElement

Inherited from

WorkspaceSplit.resizeHandleEl


type

type: string

Inherited from

WorkspaceSplit.type


win

abstract win: Window


workspace

workspace: Workspace

Inherited from

WorkspaceSplit.workspace

Methods

detach()

detach(): void

Returns

void

Inherited from

WorkspaceSplit.detach


getContainer()

getContainer(): WorkspaceContainer

Get the root container parent item, which can be one of:

Returns

WorkspaceContainer

Inherited from

WorkspaceSplit.getContainer


getIcon()

getIcon(): string

Returns

string

Inherited from

WorkspaceSplit.getIcon


getRoot()

getRoot(): WorkspaceItem

Returns

WorkspaceItem

Inherited from

WorkspaceSplit.getRoot


off()

off(name, callback): void

Parameters

name: string

callback

Returns

void

Inherited from

WorkspaceSplit.off


offref()

offref(ref): void

Parameters

ref: EventRef

Returns

void

Inherited from

WorkspaceSplit.offref


on()

on(name, callback, ctx?): EventRef

Parameters

name: string

callback

ctx?: any

Returns

EventRef

Inherited from

WorkspaceSplit.on


onResizeStart()

onResizeStart(evt): void

Parameters

evt: MouseEvent

Returns

void

Inherited from

WorkspaceSplit.onResizeStart


serialize()

serialize(): SerializedWorkspaceItem

Returns

SerializedWorkspaceItem

Inherited from

WorkspaceSplit.serialize


setDimension()

setDimension(dimension): void

Parameters

dimension: null | number

Returns

void

Inherited from

WorkspaceSplit.setDimension


setParent()

setParent(parent): void

Parameters

parent: WorkspaceParent

Returns

void

Inherited from

WorkspaceSplit.setParent


trigger()

trigger(name, …data): void

Parameters

name: string

• …data: unknown[]

Returns

void

Inherited from

WorkspaceSplit.trigger


tryTrigger()

tryTrigger(evt, args): void

Parameters

evt: EventRef

args: unknown[]

Returns

void

Inherited from

WorkspaceSplit.tryTrigger