<button ion-button [myProperty]="foo"> Click </button>
I need a property like
myProperty that gives to the button other dynamic properties such as:
foois greater than 100 the button will be
foois less than 0 the button
click eventwill be overwritten.
(It is necessary since it needs to be applied on many buttons)
What is the best way to solve this?