Shoalrun documentation frameworkMenu
For agents
Start with https://www.shoalrun.com/llms.txt for the documentation index, then read the Markdown pages it links. Skip to article. Documentation index. Read this page as Markdown.
Code API reference

ContentMount

Handles and rewritten routing metadata for one mounted HTML instance.

Updated
Read as Markdown

Type shoalrun.content.ContentMount

type ContentMount = {
    anchors: readonly ContentAnchor[];
    links: readonly ContentLink[];
    unmount(): void;
};

Handles and rewritten routing metadata for one mounted HTML instance.

Fields

Name Type Required / default Description
anchors readonly ContentAnchor[] Required Anchors after instance-specific ID rewriting.
links readonly ContentLink[] Required Typed links, including rewritten local fragments for this instance.

Methods

Name Kind Description
unmount method Remove nodes that still belong to this mount.

shoalrun.content.ContentMount.anchors

Property shoalrun.content.ContentMount.anchors

anchors: readonly ContentAnchor[]

Anchors after instance-specific ID rewriting.

Type: readonly ContentAnchor[]

Required

Property shoalrun.content.ContentMount.links

links: readonly ContentLink[]

Typed links, including rewritten local fragments for this instance.

Type: readonly ContentLink[]

Required

shoalrun.content.ContentMount.unmount

Method shoalrun.content.ContentMount.unmount

unmount(): void

Remove nodes that still belong to this mount.

Returns

void