Function byId

Gets a HTML element by id, throwing an error if not found

  • Type Parameters

    • V extends HTMLElement

    Parameters

    • id: string

    Returns HTMLElement