1 decade ago by demonixis
Hi !
Edit : It's in docs http://impactjs.com/ejecta/extending-ejecta ;) I've solved my problem !
I tested Ejecta on iOS and all working fine, it's great ;) My question now is how to pass parameters to a script ? I get some infos from a view and I want to use them to initialize one of my script with it. Can I do that ? And finally, how can I get parameters from a script in the iOS view ?
I want to do something like this :
[self loadViewControllerWithScriptAtPath:@"index.js" withParams:@"params1¶ms2"];
Thanks for answer ;)
Edit : It's in docs http://impactjs.com/ejecta/extending-ejecta ;) I've solved my problem !
I tested Ejecta on iOS and all working fine, it's great ;) My question now is how to pass parameters to a script ? I get some infos from a view and I want to use them to initialize one of my script with it. Can I do that ? And finally, how can I get parameters from a script in the iOS view ?
I want to do something like this :
[self loadViewControllerWithScriptAtPath:@"index.js" withParams:@"params1¶ms2"];
Thanks for answer ;)