parse5
    Preparing search index...

    Interface ElementLocation

    interface ElementLocation {
        attrs?: Record<string, Location>;
        endCol: number;
        endLine: number;
        endOffset: number;
        endTag?: Location;
        startCol: number;
        startLine: number;
        startOffset: number;
        startTag?: Location;
    }

    Hierarchy (View Summary)

    Index

    Properties

    attrs?: Record<string, Location>

    Start tag attributes' location info.

    endCol: number

    One-based column index of the last character. Points directly after the last character.

    endLine: number

    One-based line index of the last character.

    endOffset: number

    Zero-based last character index. Points directly after the last character.

    endTag?: Location

    Element's end tag location info. This property is undefined, if the element has no closing tag.

    startCol: number

    One-based column index of the first character.

    startLine: number

    One-based line index of the first character.

    startOffset: number

    Zero-based first character index.

    startTag?: Location

    Element's start tag location info.