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?
Solved! Go to Solution.
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
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!