Hello all,
I went thru the documentation but I'm pretty new to ESRI and WebApp Builder so not sure if what I'm asking is possible...
Lets say I've created a custom widget using the WebApp Builder (my own template and functionality in its "widget.js" file and so on) - is it possible to wrap it up as an API and consume/require it like esri's other widgets (like "esri/widgets/Expand")?
<SPAN class="token function">require</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">[</SPAN>
<SPAN class="string token">"esri/WebScene"</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"esri/views/SceneView"</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"esri/widgets/Expand"</SPAN>
<SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="keyword token">function</SPAN><SPAN class="punctuation token">(</SPAN>
WebScene<SPAN class="punctuation token">,</SPAN>
SceneView<SPAN class="punctuation token">,</SPAN>
Expand
<SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>