Spec-Zone.ru › Angular

TestComponentRenderer

Абстрактный класс для вставки корневого элемента тестового компонента независимо от платформы.

API

class TestComponentRenderer {
  insertRootElement(rootElementId: string, tagName?: string | undefined): void;
  optional removeAllRootElements(): void;
}

insertRootElement

void
@paramrootElementIdstring
@paramtagNamestring | undefined
@returnsvoid

removeAllRootElements

void
@returnsvoid

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/testing/TestComponentRenderer

Spec-Zone.ru

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