src/app/app.component.ts
providers |
{
provide: STEPPER_GLOBAL_OPTIONS, useValue: { displayDefaultIndicatorType: false }
}
|
selector | app-root |
styleUrls | ./app.component.css |
templateUrl | ./app.component.html |
Properties |
Methods |
constructor()
|
Defined in src/app/app.component.ts:13
|
ngAfterViewInit |
ngAfterViewInit()
|
Defined in src/app/app.component.ts:20
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Defined in src/app/app.component.ts:23
|
Returns :
void
|
title |
Type : string
|
Default value : 'static'
|
Defined in src/app/app.component.ts:13
|
import {AfterViewInit, Component, OnInit} from '@angular/core';
import {STEPPER_GLOBAL_OPTIONS} from "@angular/cdk/stepper";
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
providers: [{
provide: STEPPER_GLOBAL_OPTIONS, useValue: {displayDefaultIndicatorType: false}
}]
})
export class AppComponent implements OnInit, AfterViewInit {
title = 'static';
constructor() {
}
ngAfterViewInit(): void {
}
ngOnInit(): void {
}
}
<router-outlet>
</router-outlet>
./app.component.css