falcon icon indicating copy to clipboard operation
falcon copied to clipboard

Touch interactions don't move brushes

Open domoritz opened this issue 7 years ago • 3 comments

681CE082-22F6-4ADD-B587-45284DE3B3DC from https://github.com/vega/vega-lite/issues/4208#issuecomment-471194774

domoritz avatar Mar 11 '19 22:03 domoritz

Have you tried to import hammerjs? Or this zoom library?

This library allows you to listen touch events. Maybe you can observe zoom in and zoom out event and move brushes sending a signal to vega.

I hope to helped you!

josesaranda avatar Aug 28 '19 15:08 josesaranda

Not yet. Can I listen to the events from a Vega spec?

domoritz avatar Aug 28 '19 16:08 domoritz

I don't think so. I mean that you can create a listener for touch interactions events with the screen an then set a signal for vega to update the brush.

josesaranda avatar Aug 29 '19 08:08 josesaranda