Select to view content in your preferred language

How can I add a external JS reference in my widget?

680
1
02-02-2018 02:28 AM
WarleyMendes
New Contributor II

Hi Guys,

I'm trying to add an JS that allows to span esri.symbol.TextSymbol on multiple lines.

And in the example is necessary to put on the code the follow reference:

<script src="https://raw.githubusercontent.com/suytt/esri.symbol.MultiLineTextSymbol/master/esri.symbol.MultiLine..."></script>

But, how can I add this reference in my widget?

The link of the JS with a simple example in JavaScript:

GitHub - suytt/esri.symbol.MultiLineTextSymbol: Allows to span esri.symbol.TextSymbol on multiple li... 

Thanks,

Warley

0 Kudos
1 Reply