You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a behavior defines an event handler with a dispath count filter, then that filter will track the total number of dispatches across all installations of that behavior, rather than applying to each installation separately.
Example:
<script type="text/hyperscript">
behavior CounterToThree
on click 1 to 3 increment my textContent
</script>
<button _="install CounterToThree">0</button>
<button _="install CounterToThree">0</button>
Expected behavior: I expect to be able to click each button 3 times after which the two two buttons should display 3 3
Actual behavior: The 2 buttons can be clicked 3 times in total. That is, once they display either 3 0, 2 1, 1 2 or 0 3, neither button will respond to additional clicks.
The text was updated successfully, but these errors were encountered:
If a behavior defines an event handler with a dispath count filter, then that filter will track the total number of dispatches across all installations of that behavior, rather than applying to each installation separately.
Example:
Expected behavior: I expect to be able to click each button 3 times after which the two two buttons should display 3 3
Actual behavior: The 2 buttons can be clicked 3 times in total. That is, once they display either 3 0, 2 1, 1 2 or 0 3, neither button will respond to additional clicks.
The text was updated successfully, but these errors were encountered: