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
shoalrun.content.ContentMount.links
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