Skip to content

How to configure 'No loop' in v5? #572

Answered by fancyapps
GeronimoCH asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Fancybox is built around Carousel component, therefore you simply use infinite option, like this:

Fancybox.bind('[data-fancybox="gallery"]', {
  Carousel : {
    infinite: false
  }
}); 

https://jsfiddle.net/srz68gx3/

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@GeronimoCH
Comment options

Answer selected by GeronimoCH
Comment options

You must be logged in to vote
8 replies
@fancyapps
Comment options

@fanyspania
Comment options

@fancyapps
Comment options

@fanyspania
Comment options

@fanyspania
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants