Custom widget - dialog window

159
0
07-24-2020 01:44 AM
shaylavi
Esri Contributor

Hello,

I've started learning how to create custom widgets in the new API version 4.16, and I got stuck while trying to display a dialog window.

The syntax is javascript 6 and dojo isn't loaded inside the widget, so I'm not sure if I should import dojo into the widget to make it work or is there a better/best-practice way I should follow.

The view is being passed to the widget as a parameter, so I do know I'm "disconnected" from the main window directly.

Any advice, reference or example would be much appreciated.

Thanks,

Shay.

Shay
0 Kudos
0 Replies