Animations
Pro featureIn lightbox there are two animations:
- initialAnimation - triggered on each source load
- slideChangeAnimation - triggered on slide change
Just pass class you want to trigger. Remember - each animation must contain different class.
<FsLightbox
toggler={toggler}
sources={[some sources]}
initialAnimation="scale-in-long"
slideChangeAnimation="scale-in"
/>
toggler={toggler}
sources={[some sources]}
initialAnimation="scale-in-long"
slideChangeAnimation="scale-in"
/>