/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/slide-toggle/slide-toggle-configurable/slide-toggle-configurable-example.html
28 строк
754 B
Michael Small
docs: convert select/sidenav/slidetog/slider/snackb/sort to signals (#33502)
08 июл 2026, 08:14
Не верифицирован
08 июл 2026, 08:14
f4a0915
Код
Авторство
О чём код?
<mat-card> <mat-card-content> <h2 class="example-h2">Slide toggle configuration</h2> <section class="example-section"> <mat-checkbox class="example-margin" [(ngModel)]="checked">Checked</mat-checkbox> </section> <section class="example-section"> <mat-checkbox class="example-margin" [(ngModel)]="disabled">Disabled</mat-checkbox> </section> </mat-card-content> </mat-card> <mat-card class="result"> <mat-card-content> <h2 class="example-h2">Result</h2> <section class="example-section"> <mat-slide-toggle class="example-margin" [checked]="checked()" [disabled]="disabled()"> Slide me! </mat-slide-toggle> </section> </mat-card-content> </mat-card>