Skip to content

WorkspaceTabs

Defined in: obsidian.d.ts:5195

Extends

Constructors

new WorkspaceTabs()

new WorkspaceTabs(): WorkspaceTabs

Returns

WorkspaceTabs

Inherited from

WorkspaceParent.constructor

Properties

_

_: Record<string, EventsEntry[]>

Defined in: src/obsidian/augmentations/Events.d.ts:5

Inherited from

WorkspaceParent._


app

app: App

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:5

Inherited from

WorkspaceParent.app


component

component: Component

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:6

Inherited from

WorkspaceParent.component


containerEl

containerEl: HTMLDivElement

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:7

Inherited from

WorkspaceParent.containerEl


dimension

dimension: null | number

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:8

Inherited from

WorkspaceParent.dimension


id

id: string

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:9

Inherited from

WorkspaceParent.id


parent

parent: WorkspaceSplit

Defined in: obsidian.d.ts:5198

Overrides

WorkspaceParent.parent


parentSplit?

readonly optional parentSplit: WorkspaceParent

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:10

Inherited from

WorkspaceParent.parentSplit


resizeHandleEl

resizeHandleEl: HTMLHRElement

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:11

Inherited from

WorkspaceParent.resizeHandleEl


type

type: string

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:12

Inherited from

WorkspaceParent.type


workspace

workspace: Workspace

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:13

Inherited from

WorkspaceParent.workspace

Methods

detach()

detach(): void

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:15

Returns

void

Inherited from

WorkspaceParent.detach


getContainer()

getContainer(): WorkspaceContainer

Defined in: obsidian.d.ts:5002

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

Returns

WorkspaceContainer

Inherited from

WorkspaceParent.getContainer


getIcon()

getIcon(): string

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:16

Returns

string

Inherited from

WorkspaceParent.getIcon


getRoot()

getRoot(): WorkspaceItem

Defined in: obsidian.d.ts:4995

Returns

WorkspaceItem

Inherited from

WorkspaceParent.getRoot


off()

off(name, callback): void

Defined in: obsidian.d.ts:1441

Parameters

name

string

callback

(…data) => unknown

Returns

void

Inherited from

WorkspaceParent.off


offref()

offref(ref): void

Defined in: obsidian.d.ts:1445

Parameters

ref

EventRef

Returns

void

Inherited from

WorkspaceParent.offref


on()

on(name, callback, ctx?): EventRef

Defined in: obsidian.d.ts:1437

Parameters

name

string

callback

(…data) => unknown

ctx?

any

Returns

EventRef

Inherited from

WorkspaceParent.on


onResizeStart()

onResizeStart(evt): void

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:17

Parameters

evt

MouseEvent

Returns

void

Inherited from

WorkspaceParent.onResizeStart


serialize()

serialize(): SerializedWorkspaceItem

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:18

Returns

SerializedWorkspaceItem

Inherited from

WorkspaceParent.serialize


setDimension()

setDimension(dimension): void

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:19

Parameters

dimension

null | number

Returns

void

Inherited from

WorkspaceParent.setDimension


setParent()

setParent(parent): void

Defined in: src/obsidian/augmentations/WorkspaceItem.d.ts:20

Parameters

parent

WorkspaceParent

Returns

void

Inherited from

WorkspaceParent.setParent


trigger()

trigger(name, …data): void

Defined in: obsidian.d.ts:1449

Parameters

name

string

data

unknown[]

Returns

void

Inherited from

WorkspaceParent.trigger


tryTrigger()

tryTrigger(evt, args): void

Defined in: obsidian.d.ts:1453

Parameters

evt

EventRef

args

unknown[]

Returns

void

Inherited from

WorkspaceParent.tryTrigger