I want to watch two variables (or more) and trigger a method only if both variables change. So far, I have only figured out how to watch multiple elements and trigger a function when one element changes.
is there any solution ?
I want to watch two variables (or more) and trigger a method only if both variables change. So far, I have only figured out how to watch multiple elements and trigger a function when one element changes.
is there any solution ?