yes, exactly. I do it in a very crude manner, but so far works pretty well 
(at least in Firefox Beta on Android):

CString javascript("var elem = document.getElementById('canvas');");
javascript.AppendFormated("elem.contentEditable = %s;", content_editable ? 
"true": "false");
EvalToInt(javascript);


where EvalToInt is just a wrapper around EM_ASM_INT. Once it's tested 
across more mobile browsers, it would be nice to extend the html5 api with 
that kind of functionality.


On Friday, May 16, 2014 12:38:35 PM UTC+2, jj wrote:
>
> Great! Does that allow you to programmatically say "bring up the virtual 
> keyboard?" or "Hide the virtual keyboard?" by toggling the boolean, or how 
> did it work out?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to