OptionaladdOptionaladdIncreases amount of pre-rendered slides before active slide
OptionalcacheEnables DOM cache of rendering slides html elements. Once they are rendered they will be saved to cache and reused from it.
OptionalenabledWhether the virtual slides are enabled
OptionalrenderFunction for external rendering (e.g. using some other library to handle DOM manipulations and state like React.js or Vue.js).
OptionalrenderWhen enabled (by default) it will update Swiper layout right after renderExternal called. Useful to disable and update swiper manually when used with render libraries that renders asynchronously
OptionalrenderFunction to render slide. As an argument it accepts current slide item for slides array and index number of the current slide. Function must return an outer HTML of the swiper slide or slide HTML element.
OptionalslidesArray with slides
OptionalslidesSlide size for slidesPerView: auto (in px)
Increases amount of pre-rendered slides after active slide