Closed davidjerleke closed 2 years ago
New option: active: boolean- Useful when used together with the breakpoints option to activate or deactivate depending on media queries.
active: boolean
const options = { active: true, // --> 767px screens and down will activate the carousel breakpoints: { '(min-width: 768px)': { active: false }, // --> 768px screens and up won't activate the carousel } } const embla = EmblaCarousel(emblaNode, options)
Released with v7.
Feature request is related to
Describe the solution you'd like
New option:
active: boolean
- Useful when used together with the breakpoints option to activate or deactivate depending on media queries.