Hello All,
I'm looking at the Event explorer / watch properties sample and don't recognize the use of HTMLElement#highlightTimeout.
Obviously the sample works correctly but TypeScript doesn't recognize highlightTimeout nor can I find it documented.
Can someone please explain?
Thanks!
--john
It's just a way to store the timeout on the element it's related to. It's not JSAPI specific thing, just how the sample is set up. TS won't be able to type it without using any or trying to set up your own type.
In a production app, you would probably store the timeouts in a HashMap with a data-attribute for look up or another similar data structure.
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.