Metreeca Gear
    Preparing search index...

    Type Alias Attribute

    An attribute of an element, as a node.

    Selected by an attribute step and usable as the target of a further selection, so that an attribute is addressed exactly as an element is. The same attribute of the same element is always handed over as the same object, so that a selection reaching it twice reports it once.

    type Attribute = {
        name: string;
        value: string;
        parent: Element;
    }
    Index
    name: string

    The name of the attribute, as the tree holds it, prefix included.

    value: string

    The value of the attribute.

    parent: Element

    The element stating the attribute.