How to use:
<!doctype html>
<html lang="en">
<head>
<title>TrueSlider</title>
<link rel="stylesheet" href="https://unpkg.com/trueslider/dist/trueslider.css">
</head>
<body>
<div id="slider"></div>
<script src="https://unpkg.com/trueslider/dist/trueslider.js"></script>
</body>
</html>
window.TrueSlider({
el: '#slider',
width: 600,
height: 350,
images: [
`https://picsum.photos/id/100/600/350`,
`https://picsum.photos/id/101/600/350`,
`https://picsum.photos/id/102/600/350`,
]
});
you can install it with npm:
npm install trueslider
or with yarn:
yarn add trueslider