Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "createElement"

Index

Interfaces

Functions

Functions

createElement

  • createElement<T>(selector: T, prop?: CreateElementProp<T>): HTMLElementTagNameMap[T]
  • Create a DOM element

    Type parameters

    • T: keyof HTMLElementTagNameMap

    Parameters

    Returns HTMLElementTagNameMap[T]

Generated using TypeDoc