To see the component in action you'll want to look into the included example.
The counter has a specific
value which can be incremented and decremented. The increment and decrement buttons will be deactivated, if a certain threshold is reached (
value = 0 or
value = 10). The style will be updated accordingly.