getOwningComponent
function
Retrieves the component instance whose view contains the DOM element.
API
Description
function getOwningComponent<T>( elementOrDir: {} | Element): T;
Jump to details
Retrieves the component instance whose view contains the DOM element.
function getOwningComponent<T>( elementOrDir: {} | Element): T;