Flyweight DOM - v2.3.0
    Preparing search index...

    Function getElementById

    • Returns an element whose id property matches the specified string.

      Parameters

      • root: Node

        The root node where the lookup starts.

      • id: string

        The ID of the element to locate.

      Returns null | Element

      getElementById on MDN