You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ended up using querySelect to modify the class attribute of the segment buttons...
E.g.
var lineSegment = document.querySelector('li[value="line"]');
var timeSegment = document.querySelector('li[value="time"]');
if (segment === 'line && lineSegment && timeSegment) {
lineSegment.setAttribute('class', 'active');
timeSegment.removeAttribute('class');
}
...
Thanks for making this for Ionic 1, it is working well for me :-)
I wonder if it could be possible to enable programmatically setting which segment button is the active one?
Cheers
-jo
The text was updated successfully, but these errors were encountered: