W dniu 06.02.2013 01:51, Daniel Gonzalez pisze:
[...]
How can I call a pyjs class method from the embedded javascript?
I would do it in such way:
#v+
from __pyjamas__ import wnd
wnd().js_callback = py_callback
#v-
and in .js part I would call:
#v+
window.js_callback()
#v-
--
pozdrawiam
Łukasz Mach - [email protected]
--
---
You received this message because you are subscribed to the Google Groups "Pyjs.org Users" 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/groups/opt_out.