Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48688

Re: Can we add external javascript file to custom visual?

$
0
0

I was able to use getScript to grab the leaflet library for a mapping visual         

             $.getScript("https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js", function (data, textStatus, jqxhr) {
//do stuff
}

Alex 


Viewing all articles
Browse latest Browse all 48688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>