@exmg/livery
Version:
Ex Machina Group Livery Web SDK.
13 lines (12 loc) • 449 B
TypeScript
/**
* Fire synthetic click events on touchend instead of default click handling.
*
* This works around click issues on touch devices (mostly iOS).
* - Click delay [iOS]
* - Zooms instead of clicks on double or triple tap [iOS]
* - Does not click during/shortly after inertia scroll [iOS]
* - Does not click on long tap [iOS, Android]
*
* @param node Node within which to do this
*/
export declare function addTouchClick(node: Node): void;