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
In order to make it even more capable could you please expose the children list as a public interface (not only for testing as you do it now via getImgs: () => imgs,)?
This opens a world of new possibilities to add dots or image previews (either passive decoration or active controller elements) to the slider. Yet this update is just a minute to introduce.
This could be something like simpleslider.children array with native JS length property and all the JS array prototype functions. This would as well expose the slides' DOM elements for more customization.
The text was updated successfully, but these errors were encountered:
WhereJuly
changed the title
Expose children list as a public interface for production version (the alias for getImgs)
Expose children (slides DOM elements) list as a public interface for production version (the alias for getImgs)
Dec 17, 2018
hi @WhereJuly this sounds like a great idea 😄 it could def make it a lot easier to extend functionality from the slider, not sure why I didn't included it from the start but I guess it has to do with cutting all the cruft in order to get it to the smallest size possible 😁
Thanks for the tiny yet powerful slider.
In order to make it even more capable could you please expose the children list as a public interface (not only for testing as you do it now via
getImgs: () => imgs,
)?This opens a world of new possibilities to add dots or image previews (either passive decoration or active controller elements) to the slider. Yet this update is just a minute to introduce.
This could be something like
simpleslider.children
array with native JSlength
property and all the JS array prototype functions. This would as well expose the slides' DOM elements for more customization.The text was updated successfully, but these errors were encountered: