LEVIATHAN v962456e · 962456eee1

moby · Dom

class Document

since 0.1.0-alpha.1linux

Constructors

new

new(App host)

Fields

actions_

Array<ActionRegistry | None> actions_

alive_

Array<bool> alive_

attrName_

Array<string> attrName_

attrSlot_

Array<int> attrSlot_

attrValue_

Array<string> attrValue_

bindings_

Array<Binding> bindings_

bindingsDead_

int bindingsDead_

dataKeys_

Array<string> dataKeys_

dataValues_

Array<string> dataValues_

exposeGetters_

Array<() => string> exposeGetters_

exposeKeys_

Array<string> exposeKeys_

freeSlots_

Array<int> freeSlots_

host_

App | None host_

idKey_

Array<string> idKey_

idSlot_

Array<int> idSlot_

lastSweepChanged_

bool lastSweepChanged_

nodeId_

Array<string> nodeId_

nodes_

tags_

Array<string> tags_

Methods

__actionsFor

__actionsFor(IComponent c) -> ActionRegistry

__actionsForOrNone

__actionsForOrNone(IComponent c) -> ActionRegistry | None

__bindingCount

__bindingCount() -> int

__compactBindings

__compactBindings() -> void

__hasAttrMeta

__hasAttrMeta(IComponent c, string name) -> bool

__liveBindingCount

__liveBindingCount() -> int

__liveNodeCount

__liveNodeCount() -> int

__reap

__reap() -> int

__recordBuild

__recordBuild(IComponent c, string tag, Array<string> attrNames, Array<string> attrValues) -> void

__registerBinding

__registerBinding(Binding b) -> void

__resolveKey

__resolveKey(string key) -> string | None

__scheduleSweepFrame

__scheduleSweepFrame() -> void

__setAttrMeta

__setAttrMeta(IComponent c, string name, string value) -> void

__slotCapacity

__slotCapacity() -> int

__slotFor

__slotFor(IComponent c) -> int

__sweepBindings

__sweepBindings() -> void

__sweepDirty

__sweepDirty() -> bool

applyMetaAttr

applyMetaAttr(IComponent c, int slot, string name, string value) -> void

attrOf

attrOf(IComponent c, string name) -> string

attrRowFor

attrRowFor(int slot, string name) -> int

byId

byId(string id) -> IComponent | None

claimSlot

claimSlot() -> int

evictIdRow

evictIdRow(int row) -> void

expose

expose(string key, () => string getter) -> void

findIdWalk

findIdWalk(IComponent root, string id) -> IComponent | None

freeSlot

freeSlot(int slot, IComponent node) -> void

get

get(string key) -> string

host

host() -> App

identityEq

identityEq(IComponent a, IComponent b) -> bool

idOf

idOf(IComponent c) -> string

leafText

leafText(IComponent c) -> string

lookupIdSlot

lookupIdSlot(string id) -> int

markupOf

markupOf(IComponent c) -> string

outerMarkup

outerMarkup(IComponent root) -> string

reachesRoot

reachesRoot(IComponent c) -> bool

refresh

refresh() -> void

registerId

registerId(string id, IComponent c) -> void

rootNode

rootNode() -> IComponent

set

set(string key, string value) -> void

slotLive

slotLive(int slot) -> bool

tagOf

tagOf(IComponent c) -> string