Skip to content

Commit

Permalink
fix(Button): Aggiungi possibilità di resettare colore e dimensione di…
Browse files Browse the repository at this point in the history
… un bottone

ref #44
  • Loading branch information
Mario Traetta committed Jul 30, 2018
1 parent 5201bf8 commit f70109f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export class ButtonComponent implements OnInit {
set color(value: any) {
if (ThemeColor.is(value)) {
this._color = value;
} else {
this._color = undefined;
}
}
private _color;
Expand All @@ -82,6 +84,8 @@ export class ButtonComponent implements OnInit {
set size(value: any) {
if (ButtonSize.is(value)) {
this._size = value;
} else {
this._size = undefined;
}
}
private _size;
Expand Down

0 comments on commit f70109f

Please sign in to comment.