0

我想在 ngb-datepicker 中禁用除 'Mondays' 或 'Fridays' 等之外的所有日子?

'<input [(ngModel)]="model" ngbDatepicker #d="ngbDatepicker" [markDisabled]="isDisabled"/>'

'this.isDisabled = (date: NgbDate) =>(date.day) !== 1;'

4

0 回答 0