stdweb
stdweb copied to clipboard
TouchEvents
Hi,
Is there any planned support for TouchEvents? In particular:
finger-down finger-drags across screen finger-up
Thanks!
Well, everything is technically planned. (:
If you need them then you're free to add them if you feel like it. (Adding new event types is not complicated; you can look at the already existing ones to see how to do it.)
I did not mean to sound entitled. I'm a big fan your stdweb/cargo-web work. :-)
Lately, I've been doing lots of hacks via just using js! { .... }. I was trying to figure out whether to do a hacky js!{ .... register on body of HTML document ... } approach, or if there already was someone else working on it (sounds like this is not the case).
Don't worry about it. (:
Oh and, since a few versions back you should actually be able to define events inside of your own crate too (through stdweb-derive
), so you don't have to register the handlers through js!
.
Hi I added preliminary support for touchapi: #305 Please take a look when you have a chance. Thanks in advance.