Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions regarding the library usage #436

Closed
Debrup-nitdgp opened this issue Dec 3, 2018 · 1 comment
Closed

Some questions regarding the library usage #436

Debrup-nitdgp opened this issue Dec 3, 2018 · 1 comment

Comments

@Debrup-nitdgp
Copy link

Hi

I am new to react native, stumbled upon this awesome library but juts wanted to know if it can fit my requirement,

I need fading effect after images get out of the view, I mean when the image is not centered it should fade out slowly, I do see that effect coming out in parallax view but when I change to layout = default I dont see that effect, is there any way to achieve it ?

Can there be more than 3 images fit at once in the screen view, like for now we see the previous and next images but if I want to have more than that ?

Can this Carousel view can be rotated, I mean can the scrollview which is horizontal now be changed to suppose a semicircular effect of scrolling ?

@bd-arc
Copy link
Contributor

bd-arc commented Dec 12, 2018

Hi @Debrup-nitdgp,

The answer is yes to all of your questions ;-)

  • For the fade effect, you can simply change the value of the inactiveSlideOpacity prop.
  • You can display as many slides as you want on screen; it is just a matter of the ratio between sliderWidth and itemWidth.
  • You will need to dive into custom interpolations for that. Or, here is a ready-made example I've came up with a few months ago.

@bd-arc bd-arc closed this as completed Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants