1.0.10 • Published 3 years ago

@tomcoso/img-slider-ts v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years 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

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.8-0

3 years ago

1.0.7-0

3 years ago

1.0.6-0

3 years ago

1.0.5-0

3 years ago

1.0.4-0

3 years ago

1.0.3-0

3 years ago

1.0.2-0

3 years ago

1.0.1-0

3 years ago

1.0.0

3 years ago