Skip to content

About

Simple swiper wrapper around ScrollView

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Props

Name Default Type
horizontal false bool
height Dimensions.get('window').height number
width Dimensions.get('window').width number
throttle 100 number
scrollViewProps {} object

Component instance methods

You can access component methods by adding a ref (ie. ref="swiper") prop to your <Swiper> element, then you can use this.refs.swiper.scrollTo(index), etc. inside your component.

scrollTo(nextPage: number)

Absolute scroll to nextPage from current page (without overscroll, if nextPage < 0, scrollTo will scroll ScrollView to first page, same with nextPage > children.length)

About

Simple swiper wrapper around ScrollView

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages