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.
fsLightboxInstances['gallery'].props.initialAnimation = 'initial-animation';
fsLightboxInstances['gallery'].props.slideChangeAnimation = 'slide-change-animation';
fsLightboxInstances['gallery'].props.slideChangeAnimation = 'slide-change-animation';