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
getHostElement( componentOrDirective: {}): Element;
Jump to details
Retrieves the host element of a component or directive instance. The host element is the DOM element that matched the selector of the directive.
getHostElement( componentOrDirective: {}): Element;