how to display multi-phase raster using ArcGIS Javascript API ? : I have a set of raster layers(the same place,different years).I want to display it on my website using the [timeslider][1] so that i can clearly view the changes from these rasters over different years. but this example given by ESRI site is based on featurelayer,i want to display raster layer.So how can i make the rasterlayer time-aware or should i try another way to achieve this? 



  [1]: https://developers.arcgis.com/javascript/3/jssamples/time_sliderwithdynamiclayer.html