Skip to content

Roadmap v1.0.0

Quinn Langille edited this page Dec 5, 2018 · 1 revision

Proposed API

We currently have a huge number of props on the carousel, a big part of our refactor for v1 will be cleaning this up. Below is proposed implementation, grouping related props into config objects:

Navigation

Navigation: Object

  • clickTarget
  • next
  • prev

AutoPlay

AutoPlay: Object

  • timeout
  • hoverPause
  • direction

PerPage

PerPage: Object

  • scroll
  • custom
  • perPage

SpacePadding

SpacePadding: [ value: number, maxOffset: number ]

Swipe Controls

Swipe: Object

  • resistanceCoef
  • mouseDrag
  • touchDrag
  • swipeDist

Other Props

AdjustableHeight: [ Enabled: bool, easing: number ]

CenterMode: bool

loop: [ enabled: bool, infinite: bool ]

easing: number

speed: number

Clone this wiki locally