Hey there,
I noticed a bug with the parameters activeClass and pagerClass. As soon as I define a custom class for pagerClass the activeClass wouldn't be rendered to the DOM. I'm not sure if this intended, however let's assume the following example:
jQuery('#some-slider').slippry({
slippryWrapper: '<div class="sy-box" />',
adaptiveHeight: false,
useCSS: true,
autoHover: false,
transition: 'horizontal',
pagerClass: 'sy-pager xyz',
activeClass: 'sy-active abc',
auto: true
});
The above example would not render 'sy-active abc' for the class, it would simply render no class attribute and no class.
Moreover, I noticed not the overwrite alone causes the issue. If just 'sy-pager' is defined for the pagerClass it works as expected. Only if you change to a non default value the activeClass wouldn't be rendered out.
Edit: I noticed it's not related to the default value. It's the blank in pagerClass which causes the issue. Just custom strings work but a blank within the pagerClass strips out the activeClass.
Hey there,
I noticed a bug with the parameters
activeClassandpagerClass. As soon as I define a custom class forpagerClasstheactiveClasswouldn't be rendered to the DOM. I'm not sure if this intended, however let's assume the following example:The above example would not render
'sy-active abc'for the class, it would simply render noclassattribute and no class.Moreover, I noticed not the overwrite alone causes the issue. If just
'sy-pager'is defined for thepagerClassit works as expected. Only if you change to a non default value theactiveClasswouldn't be rendered out.Edit: I noticed it's not related to the default value. It's the blank in
pagerClasswhich causes the issue. Just custom strings work but a blank within thepagerClassstrips out theactiveClass.