pseudo-dom
    Preparing search index...

    Class HTMLCollectionService

    Simulate the behaviour of the HTMLCollection Class when there is no DOM available: a live view of some of a node's element descendants, recomputed each time it is used rather than kept in sync as they change.

    Implements

    Index
    • Parameters

      • owner: NodeService

        The node this is a live view of a part of

      • predicate: (element: any) => boolean = ...

        Only elements which pass this are included (every element by default)

      • deep: boolean = false

        Include every matching descendant (true, like getElementsByTagName), not just the direct element children (false, like Element.children)

      Returns HTMLCollectionService