Open kapouer opened 6 years ago
https://github.com/pehaa/beerslider/blob/master/src/beerslider.js demo which has an interesting idea of using an input of type range to track changes. CON: no destroy, adds DOM elements and is not idempotent. PRO: applies to a single parent node
https://github.com/Specro/remusjs demo CON: no destroy, global setup PRO: multiple images are possible and code is simple
Conclusion: do a class like beerslider that works like remusjs.
https://github.com/yoriiis/before-after demo CON: adds DOM element PRO: Instantiation by item, destroy, added DOM element is outside block-content
https://github.com/pehaa/beerslider/blob/master/src/beerslider.js demo which has an interesting idea of using an input of type range to track changes. CON: no destroy, adds DOM elements and is not idempotent. PRO: applies to a single parent node
https://github.com/Specro/remusjs demo CON: no destroy, global setup PRO: multiple images are possible and code is simple
Conclusion: do a class like beerslider that works like remusjs.
https://github.com/yoriiis/before-after demo CON: adds DOM element PRO: Instantiation by item, destroy, added DOM element is outside block-content