Remove sections from timeslider

408
2
Jump to solution
02-23-2022 01:58 PM
KevinDunlop
Occasional Contributor III

Hi,

Is there a way to remove sections from a timeslider bar?  I know you can make it compact but it still have the same parts just tighter and taller which makes it eat up too much space in my app.  I would like to remove the items with red Xs in the images below.

 

Timebar.PNG

0 Kudos
1 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

We have an enhancement plan for this. However, I do not know when we will install the enhancement. In meantime, you could hide the components using css classes as shown below. Please note that this is not supported and you may run into issue. 

.esri-time-slider__animation,
.esri-time-slider__min, 
.esri-time-slider__max,
.esri-time-slider__previous,
.esri-time-slider__next{
  display: none;
}

 

View solution in original post

0 Kudos
2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

We have an enhancement plan for this. However, I do not know when we will install the enhancement. In meantime, you could hide the components using css classes as shown below. Please note that this is not supported and you may run into issue. 

.esri-time-slider__animation,
.esri-time-slider__min, 
.esri-time-slider__max,
.esri-time-slider__previous,
.esri-time-slider__next{
  display: none;
}

 

0 Kudos
KevinDunlop
Occasional Contributor III

Thanks!  That is what I need.

0 Kudos