getComponent
function
Retrieves the component instance associated with a given DOM element.
API
Usage Notes
function getComponent<T>( element: Element): T | null;
getComponent
T | null
Retrieves the component instance associated with a given DOM element.
@paramelement
Element
DOM element from which the component should be retrieved.
@returns
T | null
Jump to details