Documentation
    Preparing search index...

    Interface ElementLike

    The handful of element operations the mirror uses. A fake implements these as ordinary methods and fields; a real HTMLElement already has them.

    interface ElementLike {
        checked?: boolean;
        disabled?: boolean;
        id?: string;
        parentNode?: { removeChild(node: ElementLike): unknown } | null;
        style?: ElementStyleLike;
        tabIndex?: number;
        type?: string;
        appendChild(node: ElementLike): unknown;
        remove?(): void;
        removeAttribute(name: string): void;
        removeChild?(node: ElementLike): unknown;
        setAttribute(name: string, value: string): void;
    }
    Index
    checked?: boolean
    disabled?: boolean
    id?: string
    parentNode?: { removeChild(node: ElementLike): unknown } | null
    tabIndex?: number
    type?: string
    • Parameters

      • name: string
      • value: string

      Returns void