“komponen sakelar sudut” Kode Jawaban

*ngswitch

<container-element [ngSwitch]="switch_expression">
  <!-- the same view can be shown in more than one case -->
  <some-element *ngSwitchCase="match_expression_1">...</some-element>
  <some-element *ngSwitchCase="match_expression_2">...</some-element>
  <some-other-element *ngSwitchCase="match_expression_3">...</some-other-element>
  <!--default case when there are no matches -->
  <some-element *ngSwitchDefault>...</some-element>
</container-element>
Worried Whale

komponen sakelar sudut

<container-element [ngSwitch]="switch_expression">
  <some-element *ngSwitchCase="match_expression_1">...</some-element>
</container-element>
Juice WRLD

Jawaban yang mirip dengan “komponen sakelar sudut”

Pertanyaan yang mirip dengan “komponen sakelar sudut”

Lebih banyak jawaban terkait untuk “komponen sakelar sudut” di TypeScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya