Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LazyOptions

Index

Properties

Optional checkInView

checkInView: boolean

Enables to check is the Swiper in view before lazy loading images on initial slides

default

false

Optional elementClass

elementClass: string

CSS class name of lazy element

default

'swiper-lazy'

Optional loadOnTransitionStart

loadOnTransitionStart: boolean

By default, Swiper will load lazy images after transition to this slide, so you may enable this parameter if you need it to start loading of new image in the beginning of transition

default

false

Optional loadPrevNext

loadPrevNext: boolean

Set to true to enable lazy loading for the closest slides images (for previous and next slide images)

default

false

Optional loadPrevNextAmount

loadPrevNextAmount: number

Amount of next/prev slides to preload lazy images in. Can't be less than slidesPerView

default

1

Optional loadedClass

loadedClass: string

CSS class name of lazy loaded element

default

'swiper-lazy-loaded'

Optional loadingClass

loadingClass: string

CSS class name of lazy loading element

default

'swiper-lazy-loading'

Optional preloaderClass

preloaderClass: string

CSS class name of lazy preloader

default

'swiper-lazy-preloader'

Optional scrollingElement

scrollingElement: null | HTMLElement | CSSSelector | Dom7Array

Element to check scrolling on for checkInView. Defaults to window

Generated using TypeDoc