Hello eveyrone, I am playing around with Crosswalk embed extensions and I was wondering if it could be possible to call to postMessage inside the onInstanceCreated inherited from the base class XWalkExtension. My initial tests are crashing, but as I already have the instanceID, it would be great to be able to make the call.
If this is not an option, I would be very interested in knowing how to inject DOM manipulation code from a XWalkExtension. I know how to export functions to the extension object that will be present in the window object, but how about if I would like to modify something outside of the scope of the extension JS code? I have seen also de entryPoints parameter of the XWalkExtension, but as far as I understand, these values are only to be able to expose the extension instance inside a global object, similar to a renaming of the extension instance. Is this right? Haven't been able to find much information about this constructor parameter to be honest. Thank you very much. Regards, Iker -- Iker Jamardo CTO @ Ludei http://ludei.com 156 2nd Street San Francisco CA, 94105 +1 415-340-9102
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
