Skip to content
Discussion options

You must be logged in to vote

@psntr do you mean that you would like to activate the Fade plugin on a certain breakpoint? If yes, use the breakpoints option for the Fade plugin like so:

const emblaNode = document.querySelector('.embla')
const emblaApi = EmblaCarousel(emblaNode, { loop: true }, [Fade({
  breakpoints: {
    '(min-width: 768px)': { active: false }
  }
})])

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@psntr
Comment options

@davidjerleke
Comment options

Answer selected by davidjerleke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
resolved This issue is resolved question Question about how to achieve something plugin Issue is related to plugins
2 participants