Voting: 
Vote up!
0 Votes
1 Replies
Unanswered

Angular JS & HTML5

Question asked by Alaa Qaddoumi on Mar 21, 2017 03:10 EDT

Hi Kony, Based on your presentation of Kony Visualizer 7.2 this platform is supporting Angular JS and HTML5. Do you have any material explain where can I write the code ?! Best Regards, Alaa

Vote up!
0 votes
Vote down!

Hi Alaa,

To add any external JS, we suggest you to use below snippet in form preshow OR pre-appinit of your application.

var head = document.getElementsByTagName('head')[0];                                                                                                                                     var script = document.createElement('script');                                                                                                                                                   script.src = "http://domain.com/organization/Test/Bootstrap.js";                                                                                               head.appendChild(script);

This code snippet will add the script tag to the header tag of the page. We have verified and found that the script tag is added to the form. Please follow our suggestions and update us if you have any concerns.

Thanks

Replied by: Mar 22, 2017 06:57 EDT
Bronze