Exposes a set of functions in the global namespace which are useful for debugging the current state of your application. These functions are exposed via the global
ng "namespace" variable automatically when you import from
@angular/core and run your application in development mode. These functions are not exposed when the application runs in a production mode.
Marks a component for check (in case of OnPush components) and synchronously performs change detection on the application this component belongs to.
Retrieves the component instance associated with a given DOM element.
If inside an embedded view (e.g.
Retrieves directive instances associated with a given DOM element. Does not include component instances.
Retrieves the host element of a component or directive instance. The host element is the DOM element that matched the selector of the directive.
Retrieves a list of event listeners associated with a DOM element. The list does include host listeners, but it does not include event listeners defined outside of the Angular context (e.g. through
Retrieves the component instance whose view contains the DOM element.
Retrieves all root components associated with a DOM element, directive or component instance. Root components are those which have been bootstrapped by Angular.
Event listener configuration returned from