loryjs / lory

☀ Touch enabled minimalistic slider written in vanilla JavaScript.
http://loryjs.github.io/lory/
MIT License
2.28k stars 243 forks source link

incompatible with other code #739

Closed ghost closed 5 years ago

ghost commented 6 years ago

Can all the html class or id-names for this plugin be appended by a lory- ? Example, lory-slider and lory-slide instead of plain slider and slide?

I copy-pasted a lot of code from codepen that uses the names slide and slider, and I can't replace those names across html, css, and js, and still get both things working simultaneously.

nstanard commented 5 years ago

You get to decide what class names you use for your sliders. The options allow you to override the defaults. Please use Stack Overflow or Gitter to request general assistance with the slider.