1.1.2 • Published 3 years ago

solider v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Solider

create function

Parameters

  • domObject: HTMLElement
    • domObject is slider container element. you need add img or any tags in domObject.
  • type: "2d" | "rotation" | "perspective"
    • 2d is default type. normal 2d slider. rotation is 3d slider. this is box (this version is test version thus only four children) perspective is in development.
  • autoplay: boolean
    • autoplay is "isAutoplay"
  • dots: boolean
    • dots is "isDots"
  • arrow: boolean
    • arrow is "isArrow"
  • infinite: boolean
    • infinite is "isInfinite"
  • draggable: boolean
    • draggable is "isDraggable". not only PC, but also mobile.
  • autoplayDelay: number (ms)
  • speed: number (ms)
    • speed is sliding duration.
  • leftArrow: string
  • rightArrow: string
    • Left or Right arrow is string of HTMLElement.
  • dotClass: string
    • dotClaas is you want to add class in dot, you can use dotClass parameter.

Default Parameters

  • domObject: null
  • type: 2d
  • autoplay: false
  • dots: false
  • arrow: false
  • infinite: false
  • draggable: false
  • autoplayDelay: 5000
  • speed: 400
1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago