getHostElement
function
Retrieves the host element of a component or directive instance. The host element is the DOM element that matched the selector of the directive.
API
function getHostElement( componentOrDirective: {}): Element;
Jump to details