I would like to add a countdown timer to the splash screen widget, showing the days, hours, and minutes remaining until a specified time. In Web AppBuilder Developer edition, could this be accomplished by creating a .js file with the countdown timer script, and then referencing that script in the html file?
Hi, it depends on how you create the js file. You will need to be able to add it as a dependency to dojo and use it in your html then be able to call close widget when timer hits 0.
https://developers.arcgis.com/javascript/3/jshelp/inside_dojo.html
Thank you!
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.