0
avanekar02 created
hello i want to access a 3rd party control pptxgen from our index.js file
i have attached a snapshot of the code running on top you can see the shape.js file and below the unpr error
i have put the 3rd party scripts in the lib folder and put a correct path in the App_start/ScriptsPath as follows
public const string pptxgen = "~/libs/pptxgenjs/pptxgen.js";
1 Answer(s)
-
0
Hi,
I have just asked for your index.js code in another topic and saw it here :). Since this is not an angular plugin, you cannot inject it like this to your controller.
You need to create it as explained here <a class="postlink" href="https://github.com/gitbrent/PptxGenJS#presentation-basics">https://github.com/gitbrent/PptxGenJS#p ... ion-basics</a>, whenever you need it in your index.js.