skip to the page

@jam-overture/loom/addressed

The four names a render writes on a published page, and the function that finds the page. Loads nothing, for a browser bundle.

Everything below is exported from that import. The names, the signatures and the sentences are read from the package itself rather than written here, so this page says what the copy of Loom in your node_modules says — and it changes in the same pull request the code does.

6 exports, in 2 modules. Generated from ./dist/render/addressed.d.ts, which is the declaration file this package publishes for @jam-overture/loom/addressed. Each comment inside a declaration is shown as its first paragraph. The whole of it is in that file.

Nothing to install first. Everything this import loads arrives with @jam-overture/loom itself.

No import here has everything behind it. @jam-overture/loom/addressed publishes 6 of the 2,237 names this package publishes. The other 2,231 are behind one of the 19 other imports, and 18 of those 19 publish nothing this one does. The imports do not nest: a name that is not on this page is not a name that does not exist, and the search at the top of the page says which import it comes from.

Some of these names are published elsewhere too: 5 by @jam-overture/loom/react — the same declarations reached through two doors, so either import gives you the same thing.

Addressed

render/addressed

The names a render writes onto a published page, and how to find the page.

addressedRootInfunction

The root of an addressed page within scope, or undefined if there is none.

Shown in use on What your readers do — Two: start the broadcaster, in the browser

const addressedRootIn: (scope: ParentNode) => Element | undefined

Editable

render/editable

Edit mode decorates; it never restructures.

LOOM_NODE_ATTRIBUTEvalue

const LOOM_NODE_ATTRIBUTE = "data-loom-node"

LOOM_TYPE_ATTRIBUTEvalue

const LOOM_TYPE_ATTRIBUTE = "data-loom-type"

LOOM_TREE_ATTRIBUTEvalue

const LOOM_TREE_ATTRIBUTE = "data-loom-tree"

LOOM_REVISION_ATTRIBUTEvalue

const LOOM_REVISION_ATTRIBUTE = "data-loom-revision"

LOOM_AUDIENCE_ATTRIBUTEvalue

const LOOM_AUDIENCE_ATTRIBUTE = "data-loom-audience"