Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

Add support for mobile browsers #6

@JamesMGreene

Description

@JamesMGreene

This library does not currently support the "touch" events necessary for it to work on mobile browsers.

Start with this touch detection technique leveraged from jQuery Mobile:

var touchSupported = $.support.touch || "ontouchend" in document;

Honestly, not sure if either will be necessary since a "click" event has certain sequential requirements that normal touch events don't meet individually: i.e. touchstart, minimal touchmove if any, touchend on the same element (or in very close proximity), and none of the handlers for those call event.preventDefault();... then, and only then will the mousedown, mousemove, mouseup, and click sequence of events be allowed to start..

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions