我正在使用npm进行按钮进度 https://www.npmjs.com/package/mat-progress-buttons
当时按钮的disable属性不起作用。
我的代码
HTML
<mat-spinner-button type="submit" id="profile-management" [options]="spinnerButtonOptions" ></mat-spinner-button>
TS文件
spinnerButtonOptions: MatProgressButtonOptions = {
active: false,
text: 'Save & Next',
spinnerSize: 25,
raised: true,
stroked: false,
buttonColor: 'primary',
spinnerColor: 'accent',
fullWidth: false,
disabled: false,
mode: 'indeterminate',
}