/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/button/button-harness/button-harness-example.ts
14 строк
351 B
Michael Small
docs: convert auto/badge/btn/sheet/btntoggle/input to signals (#33492)
06 июл 2026, 10:27
Не верифицирован
06 июл 2026, 10:27
9edf12d
Код
Авторство
О чём код?
import {Component, signal} from '@angular/core'; import {MatButtonModule} from '@angular/material/button'; /** * @title Testing with MatButtonHarness */ @Component({ selector: 'button-harness-example', templateUrl: 'button-harness-example.html', imports: [MatButtonModule], }) export class ButtonHarnessExample { clicked = signal(false); }