Stepper how to get before and after change value?


i am using the change event of the stepper, may i check with anyone who knows
whether is possible to get the before the stepper changed , the value ?

so that i can use the old value to update value before applying the new changed
value ?

or is there a way to get the stepper to emit a “-” click and “+” click event ?
so that we can do something after the “-” or “+” is clicked ?

any help is much appreciated.


Maybe you can keep te previous value in a variable? And then on the “change” event, use your custom variable as you want, and after that update it with the new value.

Thanks Tim, i think i want to explore to use the minus and add div and perhaps to assign some form of onclick to them.