banira
    Preparing search index...

    Interface CustomElementDeclaration

    interface CustomElementDeclaration {
        attributes?: Attribute[];
        cssParts?: NamedDoc[];
        cssProperties?: CssCustomProperty[];
        customElement: true;
        deprecated?: string | boolean;
        description?: string;
        events?: CemEvent[];
        kind: "class";
        members?: ClassMember[];
        name: string;
        role?: string;
        slots?: NamedDoc[];
        summary?: string;
        superclass?: { name: string };
        tagName?: string;
    }
    Index

    Properties

    attributes?: Attribute[]
    cssParts?: NamedDoc[]
    cssProperties?: CssCustomProperty[]
    customElement: true
    deprecated?: string | boolean

    Present when the class is marked @deprecated; the string is the deprecation note, if any.

    description?: string
    events?: CemEvent[]
    kind: "class"
    members?: ClassMember[]
    name: string
    role?: string

    The element's default ARIA role, from a class-level @role jsdoc tag. Typically set on the element via ElementInternals.role; recorded here so consumers know the implicit role without parsing the source. Not part of the CEM spec, but additive — manifests carrying it remain schema-valid.

    slots?: NamedDoc[]
    summary?: string
    superclass?: { name: string }
    tagName?: string