getRootComponents
함수
안정화
Retrieves all root components associated with a DOM element, directive or component instance. Root components are those which have been bootstrapped by Angular.
@paramelementOrDir
{} | ElementDOM element, component or directive instance for which to retrieve the root components.
@returns
{}[]Root components associated with the target object.
상세 내용으로 이동