react-carousel icon indicating copy to clipboard operation
react-carousel copied to clipboard

visual effects when changing slide

Open piotr-s-brainhub opened this issue 5 years ago • 1 comments

visualEffectOnChangingSlide option passed to the carousel component with the following values:

  • null (default) - no effects
  • zoom - after slide switch, all the fully visible slides are zoomed in for 1 second, then zoomed out
  • border - after slide switch, all the fully visible slides obtain a border for 1 second, the border has the BrainhubCarousel__visualEffectOnChangingSlide__border class, allowing to style it, as default it's solid 5px black

piotr-s-brainhub avatar Mar 11 '20 16:03 piotr-s-brainhub

As #483 has been marked as duplicate of this issue, but I see no mention of fading behaviour, so I mention that in this message in order not to lose that suggestion.

frafra avatar Jan 29 '21 07:01 frafra