6

I've been playing around a bit with SVG+ECMAScript, and I find it impressive.

I've recently found out that (X)HTML5 has a ‘touch events’ specification, so that browsers such as the Android browser, Firefox, and Chrome/Chromium have DOM support for multitouch screens.

Can I access these same events from ECMAScript in a standalone SVG file? (I.e. without any (X)HTML5.) If so, a simple example SVG file would be much appreciated.

Note: By ‘touch events’, I'm referring to standard touch events as defined by the W3C and not any proprietary API defined by Apple or others.

James Haigh
  • 1,192
  • 1
  • 12
  • 25

1 Answers1

1

There actually was discussion about this and it is possible.

More in this thread -> Can *you* get SVG on mobile browser accept mouse/touch events? I can't

Community
  • 1
  • 1