tiny-slider
tiny-slider copied to clipboard
Call tns() is there a way faster than another ?
Hi everyone,
Is between the tree listed way on https://github.com/ganlanyuan/tiny-slider#usage
<script src="/tiny-slider.js"></script>
or
// yourScript.js
import { tns } from "./node_modules/tiny-slider/src/tiny-slider"
or
<script type="module">
import {tns} from './src/tiny-slider.js';
var slider = tns({
container: '.my-slider',
items: 3,
slideBy: 'page',
autoplay: true
});
</script>
is there one faster than another ? (FireFox related)