LEVIATHAN v962456e · 962456eee1

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_

doc_

excluded_

IComponent | None excluded_

ids_

Array<int> ids_

Methods

childAt

childAt(TreeNodeId n, int i) -> TreeNodeId

childCount

childCount(TreeNodeId n) -> int

compForId

compForId(int id) -> IComponent | None

filteredChildren

filteredChildren(IComponent c) -> Array<IComponent>

findSlot

findSlot(int slot) -> int

hasChildren

hasChildren(TreeNodeId n) -> bool

idFor

isExcluded

isExcluded(IComponent c) -> bool

labelAt

labelAt(TreeNodeId n) -> string

rootAt

rootAt(int i) -> TreeNodeId

rootCount

rootCount() -> int