/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/button/button-progress-indicator/button-progress-indicator-example.html
22 строки
708 B
Jeremy Mowery
docs(material/button): Clean up progressIndicator docs (#32934)
20 мар 2026, 20:22
Не верифицирован
20 мар 2026, 20:22
5be204a
Код
Авторство
О чём код?
<section> <h3>Button with a MatProgressSpinner</h3> <button matButton="outlined" [showProgress]="showProgress()" (click)="toggleShowProgress()"> Click to toggle progress <mat-progress-spinner progressIndicator mode="indeterminate" diameter="20" aria-label="Loading" tabindex="" /> </button> </section> <section> <h3>Button with a custom progress indicator</h3> <button matButton="outlined" [showProgress]="showProgress()" (click)="toggleShowProgress()"> Click to toggle progress <div progressIndicator role="progressbar" aria-valuemin="0" aria-valuemax="100"> Loading... </div> </button> </section>