SNIK Graph - v26.11
    Preparing search index...

    Function getElementById

    • getElementById with exception handling.

      Type Parameters

      • T extends HTMLElement = HTMLElement

      Parameters

      • id: string

        an HTML DOM id

      Returns T

      the element with the given id, cast to the expected HTML element type