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:25
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:30