Get active button state in widget

01-19-2021 04:45 PM
by Anonymous User
Not applicable

I am trying to check if a button is clicked in the Measurement widget. Any ideas on how to do this?

I want to do something when the extent is active



Tags (3)
0 Kudos
2 Replies
MVP Legendary Contributor

Which widget is this. It does not look like the OTB Measurement widget or Tom's custom Measure widget...?

0 Kudos
Esri Contributor

you can just check the dom for a specific class name assuming it is using css class to change the look.

If you are unable to get a handle to the dom, you can try using