Hey guys,
I know that GWT interfacts with native JS using JSNI, but my question
is: can I call from native JS to GWT generated code? how?
My idea is to write, in GWT, a class (MyClass) and then, in an HTML
file import the .nocache.js file and use native JS do something like
this
<script type="text/javascript">
MyClass instance = new MyClass();
instance.property = "value";
</script>
The reason is that i need to build a complex JS library and i dont
want to think about browsers compatibility it will take a lot of time.
Thanks on advance your comments.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.