Any way to hide Carousel navigator arrows? : SOLVED
When using the Indicator Sparkling template, once I add an Item (dimension) for the sparkline, the carousel navigator arrows appear. Since they are not needed, I would like to hide them. Is there a way to do that?
-
Delsaran,
Good thought. They are all the same. Tried your suggestion, but of course the filter applies to all the Values. So I added in an ALL parameter on the Values calc. That worked on all elements, but the sparkline. In addition, the ALL parameter overrides the dashboard date filter. So it's a no-go. Really need to set the HTML tag to invisible I guess.
Thanks, Jim
-
Like this? Just change the widget id to the widget you use it in.
widget.on('ready', function(a, b) {
const widgetElement = prism.$ngscope.appstate === 'dashboard' ? $('widget[widgetid="5d4ad9c04d56792f90b42694"]') : undefined;
$('.carousel-button', widgetElement).css({
'display': 'none',
});
})
Please sign in to leave a comment.
Comments
14 comments