Typescript Library Declarations (DOM)
Interface NonElementParentNode
interface
NonElementParentNode
{
getElementById
(
elementId
:
string
)
:
Element
;
}
Hierarchy
NonElementParentNode (
view full
)
Document
DocumentFragment
Index
Methods
get
Element
By
Id
Methods
get
Element
By
Id
get
Element
By
Id
(
elementId
)
:
Element
Returns the first element within node's descendants whose ID is elementId.
MDN Reference
Parameters
elementId
:
string
Returns
Element
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
Element
By
Id
Typescript Library Declarations (DOM)
Returns the first element within node's descendants whose ID is elementId.
MDN Reference