ElementSpec: {
    aria: ReadonlyDeep<ARIA>;
    attributes: Readonly<Record<string, Attribute>>;
    categories: readonly Category[];
    cite: string;
    contentModel: ReadonlyDeep<ContentModel>;
    deprecated?: true;
    description?: string;
    experimental?: true;
    globalAttrs: ReadonlyDeep<GlobalAttributes>;
    name: string;
    namespace?: NamespaceURI;
    nonStandard?: true;
    obsolete?: true | {
        alt: string;
    };
    omission: ElementSpecOmission;
    possibleToAddProperties?: true;
}

Element spec

Type declaration

  • Readonly aria: ReadonlyDeep<ARIA>

    WAI-ARIA role and properties

  • Readonly attributes: Readonly<Record<string, Attribute>>

    Attributes

  • Readonly categories: readonly Category[]

    Element categories

  • Readonly cite: string

    Reference URL

  • Readonly contentModel: ReadonlyDeep<ContentModel>

    Permitted contents and permitted parents

  • Optional Readonly deprecated?: true

    Deprecated

  • Optional Readonly description?: string

    Description

  • Optional Readonly experimental?: true

    Experimental technology

  • Readonly globalAttrs: ReadonlyDeep<GlobalAttributes>

    Global Attributes

  • Readonly name: string

    Tag name

  • Optional Readonly namespace?: NamespaceURI

    Namespaces in XML

    See

    https://www.w3.org/TR/xml-names/

  • Optional Readonly nonStandard?: true

    Non-standard

  • Optional Readonly obsolete?: true | {
        alt: string;
    }

    Obsolete or alternative elements

  • Readonly omission: ElementSpecOmission

    Tag omission

  • Optional Readonly possibleToAddProperties?: true

    If true, it is possible to add any properties as attributes, for example, when using a template engine or a view language.

    See

    https://v2.vuejs.org/v2/guide/components-slots.html#Scoped-Slots

    It assumes to specify it on the parser plugin.

Generated using TypeDoc