tiny-slider icon indicating copy to clipboard operation
tiny-slider copied to clipboard

Call tns() is there a way faster than another ?

Open BobSquarePants opened this issue 2 years ago • 0 comments

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)

BobSquarePants avatar Nov 29 '22 09:11 BobSquarePants