-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Button): Aggiungi sia l'id sia il supporto all'attributo aria-dis…
…abled ai bottoni relativi alla ref #44
- Loading branch information
Mario Traetta
committed
Jul 26, 2018
1 parent
42b52e4
commit edaeeef
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
projects/design-angular-kit/src/lib/button/button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<button type="button" [class]="buttonClass" [disabled]="disabled"> | ||
<button type="button" [id]="id" [class]="buttonClass" [disabled]="disabled" [attr.aria-disabled]="disabled"> | ||
<ng-content></ng-content> | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters