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

Hierarchy (View Summary)

Methods

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

    MDN Reference

    Parameters

    • elementId: string

    Returns null | Element