1.0.0 • Published 3 years ago
rexy-slider v1.0.0
What is this?
Create beautiful gallery slides with Rexy Gallery. Display your images with style.
Installation
npm i rexy-gallery --save
Then...
import Rexy from "rexy-gallery";
const rexy = new Rexy(document.querySelector(".gallery"), {
images: [
{
url: "images/1.jpeg",
caption: "this is a caption....",
},
],
});
Options
Rexy Gallery supports a list of options, most which are optional:
- images - array of objects options ( url - path to image, caption - string (optional) ) - required
- loop - true | false (Defaults to true)
- speed - interger in milliseconds (Defaults 10000ms)
- animate - true | false (Defaults to true)
- autoPlay - true | false (Defaults to true)
1.0.0
3 years ago