Hello. I have a JS application similar to this sample: https://developers.arcgis.com/javascript/latest/sample-code/visualization-vv-color-animate/live/index.html
I just want to be able to disable the users ability to grab the slider notch and drag it to a new position. I am using JS API Version 4.11.
Add the disabled attribute to the input slider
<input id="slider" type="range" min="1880" max="2017" step="1" value="1984" disabled /><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thank you yes that worked! It does not let me grab the slider notch at all.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.