Skip to content

WorkspaceMobileDrawer

Extends

Constructors

new WorkspaceMobileDrawer()

new WorkspaceMobileDrawer(): WorkspaceMobileDrawer

Returns

WorkspaceMobileDrawer

Inherited from

WorkspaceParent.constructor

Properties

_

_: Record<string, EventsEntry[]>

Inherited from

WorkspaceParent._


app

app: App

Inherited from

WorkspaceParent.app


collapsed

collapsed: boolean


component

component: Component

Inherited from

WorkspaceParent.component


containerEl

containerEl: HTMLDivElement

Inherited from

WorkspaceParent.containerEl


dimension

dimension: null | number

Inherited from

WorkspaceParent.dimension


id

id: string

Inherited from

WorkspaceParent.id


parent

parent: WorkspaceParent

Overrides

WorkspaceParent.parent


parentSplit?

readonly optional parentSplit: WorkspaceParent

Inherited from

WorkspaceParent.parentSplit


resizeHandleEl

resizeHandleEl: HTMLHRElement

Inherited from

WorkspaceParent.resizeHandleEl


type

type: string

Inherited from

WorkspaceParent.type


workspace

workspace: Workspace

Inherited from

WorkspaceParent.workspace

Methods

collapse()

collapse(): void

Returns

void


detach()

detach(): void

Returns

void

Inherited from

WorkspaceParent.detach


expand()

expand(): void

Returns

void


getContainer()

getContainer(): WorkspaceContainer

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

Returns

WorkspaceContainer

Inherited from

WorkspaceParent.getContainer


getIcon()

getIcon(): string

Returns

string

Inherited from

WorkspaceParent.getIcon


getRoot()

getRoot(): WorkspaceItem

Returns

WorkspaceItem

Inherited from

WorkspaceParent.getRoot


off()

off(name, callback): void

Parameters

name: string

callback

Returns

void

Inherited from

WorkspaceParent.off


offref()

offref(ref): void

Parameters

ref: EventRef

Returns

void

Inherited from

WorkspaceParent.offref


on()

on(name, callback, ctx?): EventRef

Parameters

name: string

callback

ctx?: any

Returns

EventRef

Inherited from

WorkspaceParent.on


onResizeStart()

onResizeStart(evt): void

Parameters

evt: MouseEvent

Returns

void

Inherited from

WorkspaceParent.onResizeStart


serialize()

serialize(): SerializedWorkspaceItem

Returns

SerializedWorkspaceItem

Inherited from

WorkspaceParent.serialize


setDimension()

setDimension(dimension): void

Parameters

dimension: null | number

Returns

void

Inherited from

WorkspaceParent.setDimension


setParent()

setParent(parent): void

Parameters

parent: WorkspaceParent

Returns

void

Inherited from

WorkspaceParent.setParent


toggle()

toggle(): void

Returns

void


trigger()

trigger(name, …data): void

Parameters

name: string

• …data: unknown[]

Returns

void

Inherited from

WorkspaceParent.trigger


tryTrigger()

tryTrigger(evt, args): void

Parameters

evt: EventRef

args: unknown[]

Returns

void

Inherited from

WorkspaceParent.tryTrigger