I'm trying to use dijit/DropDownMenu in a custom WAB widget but can't seem to get it to work. Can anyone point me to some sample code or API docs? Thank you!
Bryce,
You are probably missing something simple in your code. Can you post your attempt to use the dijit inside your widget?
Hi Robert,
Thanks for replying. Here is my Widget.js:
And here is my Widget.html:
I took the example from dijit/DropDownMenu â The Dojo Toolkit - Reference Guide
Thanks for your help,
Bryce
Hi again. Turns out I had to call parser.parse() in the startup function. Problem solved. Thanks for your time.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.