Skip to main content

ElementCreate

Callable

  • ElementCreate<T>(options: HTMLOptions<T>): HTMLElementTagNameMap[T]


  • Type parameters

    • T: keyof HTMLElementTagNameMap

    Parameters

    • options: HTMLOptions<T>

      Options for customizing the element

    Returns HTMLElementTagNameMap[T]

    • The created element