WorkspaceSidedock
API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.
Defined in: workspace.svelte.ts:674
Collapsible split container used for the left and right workspace sidebars.
Extends
Section titled “Extends”WorkspaceSplit<{sidebar-changed: [id:string,open:boolean,width:string]; }>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new WorkspaceSidedock(
options?):WorkspaceSidedock
Defined in: workspace.svelte.ts:680
Parameters
Section titled “Parameters”options?
Section titled “options?”Partial<Omit<SidebarStateProps, "open" | "setOpen">> & object = {}
Returns
Section titled “Returns”WorkspaceSidedock
Overrides
Section titled “Overrides”Properties
Section titled “Properties”_root:
WorkspaceItem<EventMap<T>> |undefined=undefined
Defined in: workspace.svelte.ts:308
Inherited from
Section titled “Inherited from”children
Section titled “children”children: (
WorkspaceTabs|WorkspaceView)[]
Defined in: workspace.svelte.ts:501
Inherited from
Section titled “Inherited from”id:
string
Defined in: workspace.svelte.ts:280
Inherited from
Section titled “Inherited from”parent
Section titled “parent”parent:
WorkspaceParent
Defined in: workspace.svelte.ts:277
Inherited from
Section titled “Inherited from”sidebar
Section titled “sidebar”sidebar:
SidebarState
Defined in: workspace.svelte.ts:678
sizes:
number[]
Defined in: workspace.svelte.ts:502
Inherited from
Section titled “Inherited from”type:
"vertical"|"horizontal"
Defined in: workspace.svelte.ts:500
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get app():
App
Defined in: workspace.svelte.ts:304
Resolve the owning application before using the compatibility alias.
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”application
Section titled “application”Get Signature
Section titled “Get Signature”get application():
App|undefined
Defined in: workspace.svelte.ts:299
The application that owns this item, when it has been attached.
Returns
Section titled “Returns”App | undefined
Inherited from
Section titled “Inherited from”collapsed
Section titled “collapsed”Get Signature
Section titled “Get Signature”get collapsed():
boolean
Defined in: workspace.svelte.ts:737
Returns
Section titled “Returns”boolean
Get Signature
Section titled “Get Signature”get size():
string
Defined in: workspace.svelte.ts:733
Returns
Section titled “Returns”string
topLeft
Section titled “topLeft”Get Signature
Section titled “Get Signature”get topLeft():
void|WorkspaceTabs
Defined in: workspace.svelte.ts:646
Returns
Section titled “Returns”void | WorkspaceTabs
Inherited from
Section titled “Inherited from”topRight
Section titled “topRight”Get Signature
Section titled “Get Signature”get topRight():
WorkspaceTabs
Defined in: workspace.svelte.ts:650
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”workspace
Section titled “workspace”Get Signature
Section titled “Get Signature”get workspace():
Workspace|undefined
Defined in: workspace.svelte.ts:294
The workspace that owns this item, when it has been attached.
Returns
Section titled “Returns”Workspace | undefined
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”addChild()
Section titled “addChild()”addChild(
child,index?):void
Defined in: workspace.svelte.ts:556
Parameters
Section titled “Parameters”WorkspaceTabs | WorkspaceView
index?
Section titled “index?”number
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”bindWorkspace()
Section titled “bindWorkspace()”bindWorkspace(
workspace):this
Defined in: workspace.svelte.ts:287
Bind a root workspace item to its owning workspace.
Parameters
Section titled “Parameters”workspace
Section titled “workspace”Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”collapse()
Section titled “collapse()”collapse():
void
Defined in: workspace.svelte.ts:745
Returns
Section titled “Returns”void
dispatch()
Section titled “dispatch()”dispatch<
T>(eventName, …args):boolean
Defined in: events.ts:105
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”eventName
Section titled “eventName”T
…ArgumentMap<{ sidebar-changed: [id: string, open: boolean, width: string]; }>[Extract<T, "sidebar-changed">]
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”emit()
Section titled “emit()”emit<
T>(eventName, …args):boolean
Defined in: events.ts:98
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”eventName
Section titled “eventName”T
…ArgumentMap<{ sidebar-changed: [id: string, open: boolean, width: string]; }>[Extract<T, "sidebar-changed">]
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”expand()
Section titled “expand()”expand():
void
Defined in: workspace.svelte.ts:749
Returns
Section titled “Returns”void
getRoot()
Section titled “getRoot()”getRoot():
WorkspaceItem
Defined in: workspace.svelte.ts:309
Returns
Section titled “Returns”WorkspaceItem
Inherited from
Section titled “Inherited from”iterateAllLeaves()
Section titled “iterateAllLeaves()”iterateAllLeaves<
T>(callback):void|T
Defined in: workspace.svelte.ts:604
Type Parameters
Section titled “Type Parameters”T = any
Parameters
Section titled “Parameters”callback
Section titled “callback”(leaf) => T
Returns
Section titled “Returns”void | T
Inherited from
Section titled “Inherited from”WorkspaceSplit.iterateAllLeaves
iterateAllSplits()
Section titled “iterateAllSplits()”iterateAllSplits<
T>(callback):void|T
Defined in: workspace.svelte.ts:571
Type Parameters
Section titled “Type Parameters”T = any
Parameters
Section titled “Parameters”callback
Section titled “callback”(split) => T
Returns
Section titled “Returns”void | T
Inherited from
Section titled “Inherited from”WorkspaceSplit.iterateAllSplits
iterateAllTabs()
Section titled “iterateAllTabs()”iterateAllTabs<
T>(callback):void|T
Defined in: workspace.svelte.ts:588
Type Parameters
Section titled “Type Parameters”T = any
Parameters
Section titled “Parameters”callback
Section titled “callback”(tab) => T
Returns
Section titled “Returns”void | T
Inherited from
Section titled “Inherited from”loadJson()
Section titled “loadJson()”loadJson(
layout,projectionItems?):Promise<void>
Defined in: workspace.svelte.ts:709
Parameters
Section titled “Parameters”layout
Section titled “layout”WorkspaceSidedockJson
projectionItems?
Section titled “projectionItems?”WorkspaceProjectionItems
Returns
Section titled “Returns”Promise<void>
Overrides
Section titled “Overrides”off<
T>(eventName,listener,context?,once?):void
Defined in: events.ts:78
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”eventName
Section titled “eventName”T
listener
Section titled “listener”(…args) => void
context?
Section titled “context?”any
boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”offref()
Section titled “offref()”offref<
T>(ref):void
Defined in: events.ts:87
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”EventRef<{ sidebar-changed: [id: string, open: boolean, width: string]; }, T>
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”on<
T>(eventName,listener,context?):EventRef<{sidebar-changed: [id:string,open:boolean,width:string]; },T,any>
Defined in: events.ts:48
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”eventName
Section titled “eventName”T
listener
Section titled “listener”(…args) => void
context?
Section titled “context?”any
Returns
Section titled “Returns”EventRef<{ sidebar-changed: [id: string, open: boolean, width: string]; }, T, any>
Inherited from
Section titled “Inherited from”once()
Section titled “once()”once<
T>(eventName,listener,context?):EventRef<{sidebar-changed: [id:string,open:boolean,width:string]; },T,any>
Defined in: events.ts:63
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”eventName
Section titled “eventName”T
listener
Section titled “listener”(…args) => void
context?
Section titled “context?”any
Returns
Section titled “Returns”EventRef<{ sidebar-changed: [id: string, open: boolean, width: string]; }, T, any>
Inherited from
Section titled “Inherited from”onEmpty()
Section titled “onEmpty()”onEmpty():
void
Defined in: workspace.svelte.ts:731
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”removeChild()
Section titled “removeChild()”removeChild(
index,softDelete?):WorkspaceTabs|WorkspaceView|undefined
Defined in: workspace.svelte.ts:617
Parameters
Section titled “Parameters”number | WorkspaceTabs | WorkspaceSplit<EventMap<T>>
softDelete?
Section titled “softDelete?”boolean = false
Returns
Section titled “Returns”WorkspaceTabs | WorkspaceView | undefined
Inherited from
Section titled “Inherited from”toggle()
Section titled “toggle()”toggle():
void
Defined in: workspace.svelte.ts:741
Returns
Section titled “Returns”void
toJson()
Section titled “toJson()”toJson():
WorkspaceSidedockJson
Defined in: workspace.svelte.ts:724
Returns
Section titled “Returns”WorkspaceSidedockJson
Overrides
Section titled “Overrides”trigger()
Section titled “trigger()”trigger<
T>(eventName, …args):boolean
Defined in: events.ts:91
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”eventName
Section titled “eventName”T
…ArgumentMap<{ sidebar-changed: [id: string, open: boolean, width: string]; }>[Extract<T, "sidebar-changed">]
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”tryTrigger()
Section titled “tryTrigger()”tryTrigger<
T>(evt, …args):void
Defined in: events.ts:112
Type Parameters
Section titled “Type Parameters”T extends "sidebar-changed"
Parameters
Section titled “Parameters”EventRef<{ sidebar-changed: [id: string, open: boolean, width: string]; }, T>
…ArgumentMap<{ sidebar-changed: [id: string, open: boolean, width: string]; }>[Extract<T, "sidebar-changed">]
Returns
Section titled “Returns”void