Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias Tag

    a start tag, with the text between a <script> or <style> and its end tag as body

    type Tag = {
        attributes: Attribute[];
        body?: string;
        end: number;
        name: string;
        start: number;
    }
    Index
    attributes: Attribute[]
    body?: string
    end: number

    where the closing > sits, or the length of the HTML when the tag never closes

    name: string

    lowercase

    start: number

    where the < sits in the HTML