The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
I am working on a project that needs to work both in desktop and mobile browsers.
Part of the interaction is that you create a path of nodes by pressing on one to start then dragging to others to add them to the path.
I am using
To handle the second part where you add subsequent nodes to the path. This works on on the desktop, but nothing is triggered on iOS Safari or iOS Chrome.
I have set createjs.Touch.enable(stage); stage.enableMouseOver(20); and my mousedown and touchend work. I have seen rollover in a few places, but that hasn't helped, and I know there is a pressmove but that would only contain the information about the node I pressed on, and not the ones I am moving over.
I am working on a project that needs to work both in desktop and mobile browsers. Part of the interaction is that you create a path of nodes by pressing on one to start then dragging to others to add them to the path. I am using
To handle the second part where you add subsequent nodes to the path. This works on on the desktop, but nothing is triggered on iOS Safari or iOS Chrome.
I have set
createjs.Touch.enable(stage); stage.enableMouseOver(20);
and mymousedown
andtouchend
work. I have seenrollover
in a few places, but that hasn't helped, and I know there is apressmove
but that would only contain the information about the node I pressed on, and not the ones I am moving over.