ElementQuery: {
    att: string;
    query: string;
    type: ElementQueryType;
}

Represents a selection of elements based on a comparison between an attribute and a query string.

Type declaration

  • att: string

    Name of the attribute being queried upon

  • query: string

    The query string. To be included in this query, the value of att on a given element must match this query string according to the rules set by the type.

  • type: ElementQueryType

    Type of the query; determines the mechanism used to evaluate whether the value of att on a given element matches this query