It seems that a long-term event is not part of the Polymer specification.
How do you implement this?
I was thinking about using behavior and using down and up events with some debounce tricks to control such a new event, but that means I have to create my own element to use this behavior and cannot for example use it directly for any elements I need :
<div on-long-press="_cheese">...</div>
which is not convenient.
Do you have other solutions?
source share