Class: SpectacularAppComponent
The root component which is bootstrapped for a Spectacular test.
Constructors
constructor
• new SpectacularAppComponent()
Properties
routerOutlet
• Optional
routerOutlet: RouterOutlet
The router outlet of the root component.
see
getActiveComponent
.
Defined in
packages/spectacular/src/lib/shared/app-component/spectacular-app.component.ts:23
Methods
getActiveComponent
▸ getActiveComponent<TActiveComponent
>(): TActiveComponent
Get the active top-level routed component, for example a page component.
Type parameters
Name |
---|
TActiveComponent |
Returns
TActiveComponent
Defined in
packages/spectacular/src/lib/shared/app-component/spectacular-app.component.ts:28