Hi I wish I could open a Pop Up Window with html code to add a disclaimer from a button inside widget I created.
It should look like what happen when I click a button you can add from HeaderControllerWidget.mxml....configuring the xml file...how can I use it?
Thanks
Naty
Thanks Robert....This fixed my problem.
Naty,
If you look at the HeaderController Widget code you will see that the about link launches and uses the HTMLPopup.mxml. So all your widgets button would need to do is something like this:
import com.esri.viewer.components.HTMLPopup; HTMLPopup.show("Your HTML Content", "Close", "300", "500");
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.