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_
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_
Array<IComponent> 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() -> boolapplyMetaAttr
applyMetaAttr(IComponent c, int slot, string name, string value) -> voidattrOf
attrOf(IComponent c, string name) -> stringattrRowFor
attrRowFor(int slot, string name) -> intbyId
byId(string id) -> IComponent | NoneclaimSlot
claimSlot() -> intevictIdRow
evictIdRow(int row) -> voidexpose
expose(string key, () => string getter) -> voidfindIdWalk
findIdWalk(IComponent root, string id) -> IComponent | NonefreeSlot
freeSlot(int slot, IComponent node) -> voidget
get(string key) -> stringhost
host() -> AppidentityEq
identityEq(IComponent a, IComponent b) -> boolidOf
idOf(IComponent c) -> stringleafText
leafText(IComponent c) -> stringlookupIdSlot
lookupIdSlot(string id) -> intmarkupOf
markupOf(IComponent c) -> stringouterMarkup
outerMarkup(IComponent root) -> stringreachesRoot
reachesRoot(IComponent c) -> boolrefresh
refresh() -> voidregisterId
registerId(string id, IComponent c) -> voidrootNode
rootNode() -> IComponentset
set(string key, string value) -> voidslotLive
slotLive(int slot) -> booltagOf
tagOf(IComponent c) -> string