ui/build/doc-toc/context.svelte
ui/build/doc-toc/context.svelte
Classes
DocTocState
Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:3
Constructors
Constructor
new DocTocState(): DocTocState;Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:21
Returns
Properties
items
items: object[];Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:5
depth
readonly depth: number;title
readonly title: string;url
readonly url: string;
observedItems
observedItems: object[];Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:10
active
readonly active: boolean;fallback
readonly fallback: boolean;id
readonly id: string;original
readonly original: object;original.depth
readonly depth: number;original.title
readonly title: string;original.url
readonly url: string;t
readonly t: number;
observer
readonly observer: DocTocAnchorObserver;Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:4
Methods
setItems()
setItems(next): void;Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:22
Parameters
| Parameter | Type |
|---|---|
next |
DocTocItem[] |
Returns
void
Variables
getDocTocState
const getDocTocState: () => () => DocTocState;Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:24
Returns
() => DocTocState
setDocTocStateContext
const setDocTocStateContext: (context) => () => DocTocState;Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:24
Parameters
| Parameter | Type |
|---|---|
context |
() => DocTocState |
Returns
() => DocTocState
Functions
setDocTocState()
function setDocTocState(state): DocTocState;Defined in: apps/website/.api-docs-entry/ui/build/doc-toc/context.svelte.d.ts:25
Parameters
| Parameter | Type |
|---|---|
state |
DocTocState |