html-dom-slider

1.0.2 • Public • Published

Introduction

Javascript slider library for show image

Installation

nmp install html-dom-easy-slider

Usage

import { EasySlider } from "html-dom-slider";
let div = document.getElementById("slider");
div.appendChild(
  EasySlider(
    [
      "assets/img/r2.jpg",
      "assets/img/r1.jpg",
      "assets/img/r3.jpg",
      "assets/img/r4.jpg",
      "assets/img/r5.jpg",
      "assets/img/r6.jpg",
    ],
    { width: "50rem", height: "30rem" },
    { exp: 2000 }
  )
);

Readme

Keywords

none

Package Sidebar

Install

npm i html-dom-slider

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

4.31 kB

Total Files

6

Last publish

Collaborators

  • attmacah