TimeSlider console error with ArcGIS JS API 4.13

717
4
Jump to solution
10-21-2019 12:06 PM
RoelGarcia
New Contributor III

Hello, 

I am using the ArcGIS JS API 4.13 and I am getting this console error from the time slider widget. This error is causing that the time slider widget does not show up.

If anyone knows how can I resolve that issue, please let me know.

Thank you,

Roel

Tags (1)
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

Do you have a container defined for the TimeWidget?

test app

https://codepen.io/noash/pen/XWWpeMB 

View solution in original post

4 Replies
BenElan
Esri Contributor

Hi Roel,

Would it be possible for you to post your code so I can take a closer look?

Thanks

0 Kudos
RoelGarcia
New Contributor III

Hi Ben,

Attached is the TimeSlider widget code..

Thanks,

Roel

0 Kudos
Noah-Sager
Esri Regular Contributor

Do you have a container defined for the TimeWidget?

test app

https://codepen.io/noash/pen/XWWpeMB 

RoelGarcia
New Contributor III

Hi Noah,

Adding a container fixed the issue!!

Thanks,

Roel