5 ms·
I would like to see one implemented as Web Component instead of the usual jQuery-function-with-configuration-options: $('.multiple-items').slick({ in
by hcarvalhoalves 13y ago
I would like to see one implemented as Web Component instead of the usual jQuery-function-with-configuration-options:
$('.multiple-items').slick({
infinite: false,
slidesToShow: 3,
slidesToScroll: 3
});
You're always into a world of pain trying to customize these things besides what is available as a configuration option.
- thekenwheeler 13y agoYou mean like using data attributes? Or like a polymer or angular directive? Not sure specifying responsive option sets would be easier.
- hcarvalhoalves 13y agoI mean an implementation using shadow DOM. It might even expose some customization options as attributes, but it would be easier to fork & customize than the usual jQuery mess by definition.
- thekenwheeler 13y agoLet me see what I can do. It would have to be a custom fork, because that's pretty edge. I'll give it a shot after I finish the angular directive and wp plugin.