Check out Hype Action Events as it might be helpful. Just assigning data-pointerdown-action
to yourHypeFunction()
on a parent is a simple way to set up an event listener that works based on the principle of event bubbling. For more examples check out:
1 Like