// module中加入
import { MAT_STEPPER_GLOBAL_OPTIONS } from '@angular/cdk/stepper';

@NgModule({
  providers: [
    {
      provide: STEPPER_GLOBAL_OPTIONS,
      useValue: { displayDefaultIndicatorType: false }
    }
  ]
})

 对步进器的具体使用可以参见material官网api文档

https://material.angular.cn/components/stepper/api

相关文章:

  • 2021-10-18
  • 2021-06-17
  • 2021-10-06
  • 2021-10-10
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
猜你喜欢
  • 2021-07-03
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2021-12-14
  • 2021-11-15
  • 2021-06-18
相关资源
相似解决方案