Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support touch screen from mobile devices #61

Open
HarelM opened this issue Aug 28, 2016 · 2 comments
Open

Please support touch screen from mobile devices #61

HarelM opened this issue Aug 28, 2016 · 2 comments

Comments

@HarelM
Copy link

HarelM commented Aug 28, 2016

Can you please support touch from mobile devices?
basically need to add the touchstart, touchend and touchmove when registering to events and removing registration, you can use the following event strings instead of the existing:

touchstart mousedown
touchmove mousemove
touchend mouseup
@aitorMolinuevo
Copy link

It would be great if this awesome directive had touch screen support.

@HarelM
Copy link
Author

HarelM commented Mar 6, 2017

I have basically rewritten this directive in typescript in my project:
https://github.com/IsraelHikingMap/Site/blob/master/IsrealHiking.Web/directives/DraggableResizableDirective.ts
Feel free to use it - it also supports moving not just resizing.
Can be seen in action in my site:
https://israelhiking.osm.org.il when clicking on the "height graph" in the right pane;
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants