GeoLeaf Core API - v3.0.0
    Preparing search index...

    Properties accepted by the DOM element factory.

    ⚠️ The field is style (singular). An earlier, removed factory read styles, and both interfaces carried an index signature — so a substitution type-checked and silently did nothing. That divergence is why the other factory was deleted rather than aligned.

    interface CreateElementProps {
        className?: string;
        id?: string;
        style?: Record<string, string> | Partial<CSSStyleDeclaration>;
        dataset?: Record<string, string>;
        attributes?: Record<string, string>;
        textContent?: string;
        innerHTML?: string;
        _eventContext?: string;
        _cleanupArray?: (() => void)[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    className?: string
    id?: string
    style?: Record<string, string> | Partial<CSSStyleDeclaration>
    dataset?: Record<string, string>
    attributes?: Record<string, string>
    textContent?: string
    innerHTML?: string
    _eventContext?: string
    _cleanupArray?: (() => void)[]