Forum Discussion
Anonymous
7 years agoNot applicable
Is there away to include certain files into custom visual only in edit mode?
Hi,
I was developing a custom visual and I was developing a custom editor view for it, lets say my complete editor code lies editor.js. I want to include this editor.js only in the edit mode, becoz loading this editor.js in view mode is unnecessary and increases the load time of the visual.
Thanks,
Praveen N
1 Reply
- v-viigCommunity Champion
Hi Praveen,
You can include this file dynamicaly from another server by adding a script tag.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals