1.0.10 • Published 11 months ago

@tomcoso/img-slider-ts v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

img-slider-one

Generates an image slider panel with the given images.

How to use it

First make sure your project has an HTML <head> tag, that is where the CSS will be appended with a <style> tag.

Then pass an array of urls along with a CSS selector for the parent

create(imageArray : string[], parentSelector : string)

Example

import createSlider from 'img-slider-one-ts'

// bla bla

createSlider([
    ./assets/image-one.jpg,
    ./assets/image-two.jpg,
    ./....
], '.hero > div.slider-wrap')

Showcase

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.8-0

11 months ago

1.0.7-0

11 months ago

1.0.6-0

11 months ago

1.0.5-0

11 months ago

1.0.4-0

11 months ago

1.0.3-0

11 months ago

1.0.2-0

11 months ago

1.0.1-0

11 months ago

1.0.0

11 months ago