Pointer events polyfill for Ember


On a project that has to carefully support many different devices, I’ve resorted to some hackery that relies on a feature-detect (“touchstart” | “click”) and then conditionally bind the appropriate event to a button for perf reasons on mobile.

Maybe this isn’t a big enough pain point for everyone, but when does it make sense to use a polyfill for Pointer events? ie. https://github.com/components/pointerevents-polyfill

Was wondering how this could best integrate (or not) with the {{action}} helper. Would like to hear thoughts on this. Happy new year!


You should take a look at FastClick. This library removes the click delay on iOS and Android. No binding to the click event necessary.