Skip to content

Instantly share code, notes, and snippets.

@vrugtehagel
vrugtehagel / fancy-slider.js
Last active Jan 16, 2021
A slider web component
View fancy-slider.js
/*
Usage:
<fancy-slider interval="5000">
<slider-item>
<!-- slider content -->
</slider-item>
...
<slider-item>
<!-- slider content -->
View image-gallery.js