moby · DevTools
class DomTreeSource
since 0.1.0-alpha.1linux
- bases
ITreeSource
Constructors
new
new(Dom::Document doc, IComponent root, IComponent | None excl)Fields
appRoot_
IComponent appRoot_comps_
Array<IComponent> comps_doc_
Dom::Document doc_excluded_
IComponent | None excluded_ids_
Array<int> ids_Methods
childAt
childAt(TreeNodeId n, int i) -> TreeNodeIdchildCount
childCount(TreeNodeId n) -> intcompForId
compForId(int id) -> IComponent | NonefilteredChildren
filteredChildren(IComponent c) -> Array<IComponent>findSlot
findSlot(int slot) -> inthasChildren
hasChildren(TreeNodeId n) -> boolidFor
idFor(IComponent c) -> TreeNodeIdisExcluded
isExcluded(IComponent c) -> boollabelAt
labelAt(TreeNodeId n) -> stringrootAt
rootAt(int i) -> TreeNodeIdrootCount
rootCount() -> int