Interface NonElementParentNode

    interface NonElementParentNode {
        getElementById(elementId: string): Element;
    }
    Hierarchy

    Methods

    • Returns the first element within node's descendants whose ID is elementId.

      MDN Reference

      Parameters

      • elementId: string

      Returns Element