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

Methods

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

    MDN Reference

    Parameters

    • elementId: string

    Returns Element | null