AnsweredAssumed Answered

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

Question asked by warleymendes@gmail.com on Feb 2, 2018
Latest reply on Feb 2, 2018 by rscheitlin

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.MultiLineTextSymbol.js"></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 lines. 

 

Thanks,

Warley

Outcomes