Preparing search index...
The search index is not available
Hydrateless API
Hydrateless API
@hydrateless/svelte
actions
toc
Function toc
use:toc
: builds a table of contents from the surrounding document.
toc
<
Node
extends
HTMLElement
>
(
...
args
:
[
node
:
Node
,
parameter
?:
undefined
]
,
)
:
void
|
ActionReturn
<
undefined
,
Record
<
never
,
any
>
>
Type Parameters
Node
extends
HTMLElement
Parameters
...
args
:
[
node
:
Node
,
parameter
?:
undefined
]
Returns
void
|
ActionReturn
<
undefined
,
Record
<
never
,
any
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Hydrateless API
Loading...
use:toc: builds a table of contents from the surrounding document.