Spec-Zone.ru › Angular

getRootComponents

Retrieves all root components associated with a DOM element, directive or component instance. Root components are those which have been bootstrapped by Angular.

API

function getRootComponents(elementOrDir: {} | Element): {}[];
@paramelementOrDir{} | Element

DOM element, component or directive instance for which to retrieve the root components.

@returns{}[]

Root components associated with the target object.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/globals/getRootComponents

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API