Module swiper-effect-utils
Functions
Const createShadow
- createShadow(suffix: string, slideEl: HTMLElement, side?: string): HTMLElement
-
Parameters
-
suffix: string
-
slideEl: HTMLElement
-
Optional side: string
Returns HTMLElement
Const effectInit
- effectInit(params: { effect: string; swiper: any; getEffectParams?: any; on: any; overwriteParams?: any; perspective?: any; recreateShadows?: any; setTransition: any; setTranslate: any }): void
-
Parameters
-
params: { effect: string; swiper: any; getEffectParams?: any; on: any; overwriteParams?: any; perspective?: any; recreateShadows?: any; setTransition: any; setTranslate: any }
-
effect: string
-
swiper: any
-
getEffectParams: function
- getEffectParams(): { slideShadows?: boolean }
-
Returns { slideShadows?: boolean }
-
Optional slideShadows?: boolean
-
on: function
-
Returns void
-
overwriteParams: function
-
Returns any
-
perspective: function
-
Returns boolean
-
recreateShadows: function
-
Returns void
-
setTransition: function
- setTransition(duration: number): void
-
Parameters
Returns void
-
setTranslate: function
-
Returns void
Returns void
Const effectTarget
- effectTarget(effectParams: any, slideEl: HTMLElement): void
-
Parameters
-
effectParams: any
-
slideEl: HTMLElement
Returns void
Const effectVirtualTransitionEnd
- effectVirtualTransitionEnd(params: { allSlides?: boolean; duration: number; swiper: any; transformElements: HTMLElement[] }): void
-
Parameters
-
params: { allSlides?: boolean; duration: number; swiper: any; transformElements: HTMLElement[] }
-
Optional allSlides?: boolean
-
duration: number
-
swiper: any
-
transformElements: HTMLElement[]
Returns void
Const getSlideTransformEl
- getSlideTransformEl(slideEl: HTMLElement): void
-
Parameters
Returns void