@types/swiper
Advanced tools
Comparing version 4.4.11 to 4.4.12
@@ -253,3 +253,3 @@ import Swiper, { DOM7Element } from '../../index'; | ||
*/ | ||
control?: Swiper; | ||
control?: Swiper | undefined; | ||
} | ||
@@ -256,0 +256,0 @@ |
@@ -105,3 +105,3 @@ // Type definitions for Swiper 4.4 | ||
*/ | ||
init?: boolean; | ||
init?: boolean | undefined; | ||
@@ -113,3 +113,3 @@ /** | ||
*/ | ||
initialSlide?: number; | ||
initialSlide?: number | undefined; | ||
@@ -121,3 +121,3 @@ /** | ||
*/ | ||
direction?: 'horizontal' | 'vertical'; | ||
direction?: 'horizontal' | 'vertical' | undefined; | ||
@@ -129,3 +129,3 @@ /** | ||
*/ | ||
speed?: number; | ||
speed?: number | undefined; | ||
@@ -136,3 +136,3 @@ /** | ||
*/ | ||
setWrapperSize?: boolean; | ||
setWrapperSize?: boolean | undefined; | ||
@@ -143,3 +143,3 @@ /** | ||
*/ | ||
virtualTranslate?: boolean; | ||
virtualTranslate?: boolean | undefined; | ||
@@ -152,3 +152,3 @@ /** | ||
*/ | ||
width?: number; | ||
width?: number | undefined; | ||
@@ -161,3 +161,3 @@ /** | ||
*/ | ||
height?: number; | ||
height?: number | undefined; | ||
@@ -169,3 +169,3 @@ /** | ||
*/ | ||
autoHeight?: boolean; | ||
autoHeight?: boolean | undefined; | ||
@@ -178,3 +178,3 @@ /** | ||
*/ | ||
roundLengths?: boolean; | ||
roundLengths?: boolean | undefined; | ||
@@ -187,3 +187,3 @@ /** | ||
*/ | ||
nested?: boolean; | ||
nested?: boolean | undefined; | ||
@@ -197,3 +197,3 @@ /** | ||
*/ | ||
uniqueNavElements?: boolean; | ||
uniqueNavElements?: boolean | undefined; | ||
@@ -205,3 +205,3 @@ /** | ||
*/ | ||
effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip'; | ||
effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip' | undefined; | ||
@@ -214,3 +214,3 @@ /** | ||
*/ | ||
runCallbacksOnInit?: boolean; | ||
runCallbacksOnInit?: boolean | undefined; | ||
@@ -223,3 +223,3 @@ /** | ||
*/ | ||
watchOverflow?: boolean; | ||
watchOverflow?: boolean | undefined; | ||
@@ -229,3 +229,3 @@ /** | ||
*/ | ||
on?: { [key in SwiperEvent]?: () => void }; | ||
on?: { [key in SwiperEvent]?: () => void } | undefined; | ||
@@ -237,3 +237,3 @@ // Slides grid | ||
*/ | ||
spaceBetween?: number; | ||
spaceBetween?: number | undefined; | ||
@@ -245,3 +245,3 @@ /** | ||
*/ | ||
slidesPerView?: number | 'auto'; | ||
slidesPerView?: number | 'auto' | undefined; | ||
@@ -252,3 +252,3 @@ /** | ||
*/ | ||
slidesPerColumn?: number; | ||
slidesPerColumn?: number | undefined; | ||
@@ -258,3 +258,3 @@ /** | ||
*/ | ||
slidesPerColumnFill?: 'row' | 'column'; | ||
slidesPerColumnFill?: 'row' | 'column' | undefined; | ||
@@ -264,3 +264,3 @@ /** | ||
*/ | ||
slidesPerGroup?: number; | ||
slidesPerGroup?: number | undefined; | ||
@@ -270,3 +270,3 @@ /** | ||
*/ | ||
centeredSlides?: boolean; | ||
centeredSlides?: boolean | undefined; | ||
@@ -276,3 +276,3 @@ /** | ||
*/ | ||
slidesOffsetBefore?: number; | ||
slidesOffsetBefore?: number | undefined; | ||
@@ -282,3 +282,3 @@ /** | ||
*/ | ||
slidesOffsetAfter?: number; | ||
slidesOffsetAfter?: number | undefined; | ||
@@ -288,3 +288,3 @@ /** | ||
*/ | ||
normalizeSlideIndex?: boolean; | ||
normalizeSlideIndex?: boolean | undefined; | ||
@@ -294,6 +294,6 @@ /** | ||
*/ | ||
centerInsufficientSlides?: boolean; | ||
centerInsufficientSlides?: boolean | undefined; | ||
// Grab Cursor | ||
grabCursor?: boolean; | ||
grabCursor?: boolean | undefined; | ||
@@ -306,3 +306,3 @@ // Touches | ||
*/ | ||
touchEventsTarget?: 'container' | 'wrapper'; | ||
touchEventsTarget?: 'container' | 'wrapper' | undefined; | ||
@@ -312,3 +312,3 @@ /** | ||
*/ | ||
touchRatio?: number; | ||
touchRatio?: number | undefined; | ||
@@ -318,3 +318,3 @@ /** | ||
*/ | ||
touchAngle?: number; | ||
touchAngle?: number | undefined; | ||
@@ -324,3 +324,3 @@ /** | ||
*/ | ||
simulateTouch?: boolean; | ||
simulateTouch?: boolean | undefined; | ||
@@ -330,3 +330,3 @@ /** | ||
*/ | ||
shortSwipes?: boolean; | ||
shortSwipes?: boolean | undefined; | ||
@@ -336,3 +336,3 @@ /** | ||
*/ | ||
longSwipes?: boolean; | ||
longSwipes?: boolean | undefined; | ||
@@ -342,3 +342,3 @@ /** | ||
*/ | ||
longSwipesRatio?: number; | ||
longSwipesRatio?: number | undefined; | ||
@@ -348,3 +348,3 @@ /** | ||
*/ | ||
longSwipesMs?: number; | ||
longSwipesMs?: number | undefined; | ||
@@ -354,3 +354,3 @@ /** | ||
*/ | ||
followFinger?: boolean; | ||
followFinger?: boolean | undefined; | ||
@@ -360,3 +360,3 @@ /** | ||
*/ | ||
allowTouchMove?: boolean; | ||
allowTouchMove?: boolean | undefined; | ||
@@ -366,3 +366,3 @@ /** | ||
*/ | ||
threshold?: number; | ||
threshold?: number | undefined; | ||
@@ -372,3 +372,3 @@ /** | ||
*/ | ||
touchStartPreventDefault?: boolean; | ||
touchStartPreventDefault?: boolean | undefined; | ||
@@ -378,3 +378,3 @@ /** | ||
*/ | ||
touchStartForcePreventDefault?: boolean; | ||
touchStartForcePreventDefault?: boolean | undefined; | ||
@@ -384,3 +384,3 @@ /** | ||
*/ | ||
touchMoveStopPropagation?: boolean; | ||
touchMoveStopPropagation?: boolean | undefined; | ||
@@ -390,3 +390,3 @@ /** | ||
*/ | ||
iOSEdgeSwipeDetection?: boolean; | ||
iOSEdgeSwipeDetection?: boolean | undefined; | ||
@@ -396,3 +396,3 @@ /** | ||
*/ | ||
iOSEdgeSwipeThreshold?: number; | ||
iOSEdgeSwipeThreshold?: number | undefined; | ||
@@ -402,3 +402,3 @@ /** | ||
*/ | ||
touchReleaseOnEdges?: boolean; | ||
touchReleaseOnEdges?: boolean | undefined; | ||
@@ -409,3 +409,3 @@ /** | ||
*/ | ||
passiveListeners?: boolean; | ||
passiveListeners?: boolean | undefined; | ||
@@ -417,3 +417,3 @@ // Touch Resistance | ||
*/ | ||
resistance?: boolean; | ||
resistance?: boolean | undefined; | ||
@@ -423,41 +423,41 @@ /** | ||
*/ | ||
resistanceRatio?: number; | ||
resistanceRatio?: number | undefined; | ||
// Swiping / No swiping | ||
preventInteractionOnTransition?: boolean; | ||
allowSlidePrev?: boolean; | ||
allowSlideNext?: boolean; | ||
noSwiping?: boolean; | ||
noSwipingClass?: string; | ||
noSwipingSelector?: string; | ||
swipeHandler?: SelectableElement; | ||
preventInteractionOnTransition?: boolean | undefined; | ||
allowSlidePrev?: boolean | undefined; | ||
allowSlideNext?: boolean | undefined; | ||
noSwiping?: boolean | undefined; | ||
noSwipingClass?: string | undefined; | ||
noSwipingSelector?: string | undefined; | ||
swipeHandler?: SelectableElement | undefined; | ||
// Clicks | ||
preventClicks?: boolean; | ||
preventClicksPropagation?: boolean; | ||
slideToClickedSlide?: boolean; | ||
preventClicks?: boolean | undefined; | ||
preventClicksPropagation?: boolean | undefined; | ||
slideToClickedSlide?: boolean | undefined; | ||
// Freemode | ||
freeMode?: boolean; | ||
freeModeMomentum?: boolean; | ||
freeModeMomentumRatio?: number; | ||
freeModeMomentumVelocityRatio?: number; | ||
freeModeMomentumBounce?: boolean; | ||
freeModeMomentumBounceRatio?: number; | ||
freeModeMinimumVelocity?: number; | ||
freeModeSticky?: boolean; | ||
freeMode?: boolean | undefined; | ||
freeModeMomentum?: boolean | undefined; | ||
freeModeMomentumRatio?: number | undefined; | ||
freeModeMomentumVelocityRatio?: number | undefined; | ||
freeModeMomentumBounce?: boolean | undefined; | ||
freeModeMomentumBounceRatio?: number | undefined; | ||
freeModeMinimumVelocity?: number | undefined; | ||
freeModeSticky?: boolean | undefined; | ||
// Progress | ||
watchSlidesProgress?: boolean; | ||
watchSlidesVisibility?: boolean; | ||
watchSlidesProgress?: boolean | undefined; | ||
watchSlidesVisibility?: boolean | undefined; | ||
// Images | ||
preloadImages?: boolean; | ||
updateOnImagesReady?: boolean; | ||
preloadImages?: boolean | undefined; | ||
updateOnImagesReady?: boolean | undefined; | ||
// Loop | ||
loop?: boolean; | ||
loopAdditionalSlides?: number; | ||
loopedSlides?: number; | ||
loopFillGroupWithBlank?: boolean; | ||
loop?: boolean | undefined; | ||
loopAdditionalSlides?: number | undefined; | ||
loopedSlides?: number | undefined; | ||
loopFillGroupWithBlank?: boolean | undefined; | ||
@@ -467,41 +467,41 @@ // Breakpoints | ||
[index: number]: SwiperOptions; | ||
}; | ||
breakpointsInverse?: boolean; | ||
} | undefined; | ||
breakpointsInverse?: boolean | undefined; | ||
// Observer | ||
observer?: boolean; | ||
observeParents?: boolean; | ||
observer?: boolean | undefined; | ||
observeParents?: boolean | undefined; | ||
// Namespace | ||
containerModifierClass?: string; | ||
slideClass?: string; | ||
slideActiveClass?: string; | ||
slideDuplicateActiveClass?: string; | ||
slideVisibleClass?: string; | ||
slideDuplicateClass?: string; | ||
slideNextClass?: string; | ||
slideDuplicateNextClass?: string; | ||
slidePrevClass?: string; | ||
slideDuplicatePrevClass?: string; | ||
wrapperClass?: string; | ||
containerModifierClass?: string | undefined; | ||
slideClass?: string | undefined; | ||
slideActiveClass?: string | undefined; | ||
slideDuplicateActiveClass?: string | undefined; | ||
slideVisibleClass?: string | undefined; | ||
slideDuplicateClass?: string | undefined; | ||
slideNextClass?: string | undefined; | ||
slideDuplicateNextClass?: string | undefined; | ||
slidePrevClass?: string | undefined; | ||
slideDuplicatePrevClass?: string | undefined; | ||
wrapperClass?: string | undefined; | ||
// Components | ||
navigation?: NavigationOptions; | ||
pagination?: PaginationOptions; | ||
scrollbar?: ScrollbarOptions; | ||
autoplay?: AutoplayOptions | boolean; | ||
parallax?: boolean; | ||
lazy?: LazyOptions | boolean; | ||
fadeEffect?: FadeEffectOptions; | ||
coverflowEffect?: CoverflowEffectOptions; | ||
flipEffect?: FlipEffectOptions; | ||
cubeEffect?: CubeEffectOptions; | ||
thumbs?: ThumbsOptions; | ||
zoom?: ZoomOptions | boolean; | ||
keyboard?: KeyboardOptions | boolean; | ||
mousewheel?: MousewheelOptions | boolean; | ||
virtual?: VirtualOptions | boolean; | ||
hashNavigation?: HashNavigationOptions | boolean; | ||
history?: HistoryNavigationOptions | boolean; | ||
a11y?: A11yOptions | boolean; | ||
navigation?: NavigationOptions | undefined; | ||
pagination?: PaginationOptions | undefined; | ||
scrollbar?: ScrollbarOptions | undefined; | ||
autoplay?: AutoplayOptions | boolean | undefined; | ||
parallax?: boolean | undefined; | ||
lazy?: LazyOptions | boolean | undefined; | ||
fadeEffect?: FadeEffectOptions | undefined; | ||
coverflowEffect?: CoverflowEffectOptions | undefined; | ||
flipEffect?: FlipEffectOptions | undefined; | ||
cubeEffect?: CubeEffectOptions | undefined; | ||
thumbs?: ThumbsOptions | undefined; | ||
zoom?: ZoomOptions | boolean | undefined; | ||
keyboard?: KeyboardOptions | boolean | undefined; | ||
mousewheel?: MousewheelOptions | boolean | undefined; | ||
virtual?: VirtualOptions | boolean | undefined; | ||
hashNavigation?: HashNavigationOptions | boolean | undefined; | ||
history?: HistoryNavigationOptions | boolean | undefined; | ||
a11y?: A11yOptions | boolean | undefined; | ||
} | ||
@@ -541,3 +541,3 @@ | ||
*/ | ||
init?: () => any; | ||
init?: (() => any) | undefined; | ||
@@ -547,3 +547,3 @@ /** | ||
*/ | ||
beforeDestroy?: () => any; | ||
beforeDestroy?: (() => any) | undefined; | ||
@@ -553,3 +553,3 @@ /** | ||
*/ | ||
slideChange?: () => any; | ||
slideChange?: (() => any) | undefined; | ||
@@ -559,3 +559,3 @@ /** | ||
*/ | ||
slideChangeTransitionStart?: () => any; | ||
slideChangeTransitionStart?: (() => any) | undefined; | ||
@@ -565,3 +565,3 @@ /** | ||
*/ | ||
slideChangeTransitionEnd?: () => any; | ||
slideChangeTransitionEnd?: (() => any) | undefined; | ||
@@ -571,3 +571,3 @@ /** | ||
*/ | ||
slideNextTransitionStart?: () => any; | ||
slideNextTransitionStart?: (() => any) | undefined; | ||
@@ -577,3 +577,3 @@ /** | ||
*/ | ||
slideNextTransitionEnd?: () => any; | ||
slideNextTransitionEnd?: (() => any) | undefined; | ||
@@ -583,3 +583,3 @@ /** | ||
*/ | ||
slidePrevTransitionStart?: () => any; | ||
slidePrevTransitionStart?: (() => any) | undefined; | ||
@@ -589,3 +589,3 @@ /** | ||
*/ | ||
slidePrevTransitionEnd?: () => any; | ||
slidePrevTransitionEnd?: (() => any) | undefined; | ||
@@ -595,3 +595,3 @@ /** | ||
*/ | ||
transitionStart?: () => any; | ||
transitionStart?: (() => any) | undefined; | ||
@@ -601,3 +601,3 @@ /** | ||
*/ | ||
transitionEnd?: () => any; | ||
transitionEnd?: (() => any) | undefined; | ||
@@ -607,3 +607,3 @@ /** | ||
*/ | ||
touchStart?: (event: any) => any; | ||
touchStart?: ((event: any) => any) | undefined; | ||
@@ -613,3 +613,3 @@ /** | ||
*/ | ||
touchMove?: (event: any) => any; | ||
touchMove?: ((event: any) => any) | undefined; | ||
@@ -621,3 +621,3 @@ /** | ||
*/ | ||
touchMoveOpposite?: (event: any) => any; | ||
touchMoveOpposite?: ((event: any) => any) | undefined; | ||
@@ -628,3 +628,3 @@ /** | ||
*/ | ||
sliderMove?: (event: any) => any; | ||
sliderMove?: ((event: any) => any) | undefined; | ||
@@ -634,3 +634,3 @@ /** | ||
*/ | ||
touchEnd?: (event: any) => any; | ||
touchEnd?: ((event: any) => any) | undefined; | ||
@@ -640,3 +640,3 @@ /** | ||
*/ | ||
click?: (event: any) => any; | ||
click?: ((event: any) => any) | undefined; | ||
@@ -646,3 +646,3 @@ /** | ||
*/ | ||
tap?: (event: any) => any; | ||
tap?: ((event: any) => any) | undefined; | ||
@@ -652,3 +652,3 @@ /** | ||
*/ | ||
doubleTap?: (event: any) => any; | ||
doubleTap?: ((event: any) => any) | undefined; | ||
@@ -658,3 +658,3 @@ /** | ||
*/ | ||
imagesReady?: () => any; | ||
imagesReady?: (() => any) | undefined; | ||
@@ -665,3 +665,3 @@ /** | ||
*/ | ||
progress?: (progress: any) => any; | ||
progress?: ((progress: any) => any) | undefined; | ||
@@ -671,3 +671,3 @@ /** | ||
*/ | ||
reachBeginning?: () => any; | ||
reachBeginning?: (() => any) | undefined; | ||
@@ -677,3 +677,3 @@ /** | ||
*/ | ||
reachEnd?: () => any; | ||
reachEnd?: (() => any) | undefined; | ||
@@ -683,3 +683,3 @@ /** | ||
*/ | ||
fromEdge?: () => any; | ||
fromEdge?: (() => any) | undefined; | ||
@@ -689,3 +689,3 @@ /** | ||
*/ | ||
setTranslate?: (translate: any) => any; | ||
setTranslate?: ((translate: any) => any) | undefined; | ||
@@ -696,3 +696,3 @@ /** | ||
*/ | ||
setTransition?: (transition: any) => any; | ||
setTransition?: ((transition: any) => any) | undefined; | ||
@@ -702,3 +702,3 @@ /** | ||
*/ | ||
resize?: () => any; | ||
resize?: (() => any) | undefined; | ||
} | ||
@@ -713,3 +713,3 @@ | ||
*/ | ||
nextEl?: SelectableElement; | ||
nextEl?: SelectableElement | undefined; | ||
@@ -722,3 +722,3 @@ /** | ||
*/ | ||
prevEl?: SelectableElement; | ||
prevEl?: SelectableElement | undefined; | ||
@@ -730,3 +730,3 @@ /** | ||
*/ | ||
hideOnClick?: boolean; | ||
hideOnClick?: boolean | undefined; | ||
@@ -738,3 +738,3 @@ /** | ||
*/ | ||
disabledClass?: string; | ||
disabledClass?: string | undefined; | ||
@@ -746,3 +746,3 @@ /** | ||
*/ | ||
hiddenClass?: string; | ||
hiddenClass?: string | undefined; | ||
} | ||
@@ -759,3 +759,3 @@ | ||
*/ | ||
type?: 'bullets' | 'fraction' | 'progressbar' | 'custom'; | ||
type?: 'bullets' | 'fraction' | 'progressbar' | 'custom' | undefined; | ||
@@ -765,3 +765,3 @@ /** | ||
*/ | ||
bulletElement?: string; | ||
bulletElement?: string | undefined; | ||
@@ -771,3 +771,3 @@ /** | ||
*/ | ||
dynamicBullets?: boolean; | ||
dynamicBullets?: boolean | undefined; | ||
@@ -777,3 +777,3 @@ /** | ||
*/ | ||
dynamicMainBullets?: number; | ||
dynamicMainBullets?: number | undefined; | ||
@@ -783,3 +783,3 @@ /** | ||
*/ | ||
hideOnClick?: boolean; | ||
hideOnClick?: boolean | undefined; | ||
@@ -789,3 +789,3 @@ /** | ||
*/ | ||
clickable?: boolean; | ||
clickable?: boolean | undefined; | ||
@@ -796,3 +796,3 @@ /** | ||
*/ | ||
progressbarOpposite?: boolean; | ||
progressbarOpposite?: boolean | undefined; | ||
@@ -803,3 +803,3 @@ /** | ||
*/ | ||
formatFractionCurrent?: (number: number) => number; | ||
formatFractionCurrent?: ((number: number) => number) | undefined; | ||
@@ -810,3 +810,3 @@ /** | ||
*/ | ||
formatFractionTotal?: (number: number) => number; | ||
formatFractionTotal?: ((number: number) => number) | undefined; | ||
@@ -817,3 +817,3 @@ /** | ||
*/ | ||
renderBullet?: (index: number, className: string) => void; | ||
renderBullet?: ((index: number, className: string) => void) | undefined; | ||
@@ -823,3 +823,3 @@ /** | ||
*/ | ||
renderFraction?: (currentClass: string, totalClass: string) => void; | ||
renderFraction?: ((currentClass: string, totalClass: string) => void) | undefined; | ||
@@ -829,3 +829,3 @@ /** | ||
*/ | ||
renderProgressbar?: (progressbarFillClass: string) => void; | ||
renderProgressbar?: ((progressbarFillClass: string) => void) | undefined; | ||
@@ -844,3 +844,3 @@ /** | ||
*/ | ||
renderCustom?: (swiper: Swiper, current: number, total: number) => void; | ||
renderCustom?: ((swiper: Swiper, current: number, total: number) => void) | undefined; | ||
@@ -850,3 +850,3 @@ /** | ||
*/ | ||
bulletClass?: string; | ||
bulletClass?: string | undefined; | ||
@@ -856,3 +856,3 @@ /** | ||
*/ | ||
bulletActiveClass?: string; | ||
bulletActiveClass?: string | undefined; | ||
@@ -862,3 +862,3 @@ /** | ||
*/ | ||
modifierClass?: string; | ||
modifierClass?: string | undefined; | ||
@@ -868,3 +868,3 @@ /** | ||
*/ | ||
currentClass?: string; | ||
currentClass?: string | undefined; | ||
@@ -874,3 +874,3 @@ /** | ||
*/ | ||
totalClass?: string; | ||
totalClass?: string | undefined; | ||
@@ -880,3 +880,3 @@ /** | ||
*/ | ||
hiddenClass?: string; | ||
hiddenClass?: string | undefined; | ||
@@ -886,3 +886,3 @@ /** | ||
*/ | ||
progressbarFillClass?: string; | ||
progressbarFillClass?: string | undefined; | ||
@@ -892,3 +892,3 @@ /** | ||
*/ | ||
clickableClass?: string; | ||
clickableClass?: string | undefined; | ||
} | ||
@@ -918,3 +918,3 @@ | ||
*/ | ||
hide?: boolean; | ||
hide?: boolean | undefined; | ||
@@ -926,3 +926,3 @@ /** | ||
*/ | ||
draggable?: boolean; | ||
draggable?: boolean | undefined; | ||
@@ -934,3 +934,3 @@ /** | ||
*/ | ||
snapOnRelease?: boolean; | ||
snapOnRelease?: boolean | undefined; | ||
@@ -942,3 +942,3 @@ /** | ||
*/ | ||
dragSize?: 'auto' | number; | ||
dragSize?: 'auto' | number | undefined; | ||
@@ -950,3 +950,3 @@ /** | ||
*/ | ||
lockClass?: string; | ||
lockClass?: string | undefined; | ||
@@ -958,3 +958,3 @@ /** | ||
*/ | ||
dragClass?: string; | ||
dragClass?: string | undefined; | ||
} | ||
@@ -985,3 +985,3 @@ | ||
*/ | ||
delay?: number; | ||
delay?: number | undefined; | ||
@@ -993,3 +993,3 @@ /** | ||
*/ | ||
stopOnLastSlide?: boolean; | ||
stopOnLastSlide?: boolean | undefined; | ||
@@ -1003,3 +1003,3 @@ /** | ||
*/ | ||
disableOnInteraction?: boolean; | ||
disableOnInteraction?: boolean | undefined; | ||
@@ -1011,3 +1011,3 @@ /** | ||
*/ | ||
reverseDirection?: boolean; | ||
reverseDirection?: boolean | undefined; | ||
@@ -1021,13 +1021,13 @@ /** | ||
*/ | ||
waitForTransition?: boolean; | ||
waitForTransition?: boolean | undefined; | ||
} | ||
export interface LazyOptions { | ||
loadPrevNext?: boolean; | ||
loadPrevNextAmount?: number; | ||
loadOnTransitionStart?: boolean; | ||
elementClass?: string; | ||
loadingClass?: string; | ||
loadedClass?: string; | ||
preloaderClass?: string; | ||
loadPrevNext?: boolean | undefined; | ||
loadPrevNextAmount?: number | undefined; | ||
loadOnTransitionStart?: boolean | undefined; | ||
elementClass?: string | undefined; | ||
loadingClass?: string | undefined; | ||
loadedClass?: string | undefined; | ||
preloaderClass?: string | undefined; | ||
} | ||
@@ -1040,59 +1040,59 @@ | ||
export interface FadeEffectOptions { | ||
crossFade?: boolean; | ||
crossFade?: boolean | undefined; | ||
} | ||
export interface CoverflowEffectOptions { | ||
slideShadows?: boolean; | ||
rotate?: number; | ||
stretch?: number; | ||
depth?: number; | ||
modifier?: number; | ||
slideShadows?: boolean | undefined; | ||
rotate?: number | undefined; | ||
stretch?: number | undefined; | ||
depth?: number | undefined; | ||
modifier?: number | undefined; | ||
} | ||
export interface FlipEffectOptions { | ||
slideShadows?: boolean; | ||
limitRotation?: boolean; | ||
slideShadows?: boolean | undefined; | ||
limitRotation?: boolean | undefined; | ||
} | ||
export interface CubeEffectOptions { | ||
slideShadows?: boolean; | ||
shadow?: boolean; | ||
shadowOffset?: number; | ||
shadowScale?: number; | ||
slideShadows?: boolean | undefined; | ||
shadow?: boolean | undefined; | ||
shadowOffset?: number | undefined; | ||
shadowScale?: number | undefined; | ||
} | ||
export interface ThumbsOptions { | ||
swiper?: Swiper; | ||
slideThumbActiveClass?: string; | ||
thumbsContainerClass?: string; | ||
swiper?: Swiper | undefined; | ||
slideThumbActiveClass?: string | undefined; | ||
thumbsContainerClass?: string | undefined; | ||
} | ||
export interface ZoomOptions { | ||
maxRatio?: number; | ||
minRatio?: number; | ||
toggle?: boolean; | ||
containerClass?: string; | ||
zoomedSlideClass?: string; | ||
maxRatio?: number | undefined; | ||
minRatio?: number | undefined; | ||
toggle?: boolean | undefined; | ||
containerClass?: string | undefined; | ||
zoomedSlideClass?: string | undefined; | ||
} | ||
export interface KeyboardOptions { | ||
enabled?: boolean; | ||
onlyInViewport?: boolean; | ||
enabled?: boolean | undefined; | ||
onlyInViewport?: boolean | undefined; | ||
} | ||
export interface MousewheelOptions { | ||
forceToAxis?: boolean; | ||
releaseOnEdges?: boolean; | ||
invert?: boolean; | ||
sensitivity?: number; | ||
eventsTarged?: SelectableElement; | ||
forceToAxis?: boolean | undefined; | ||
releaseOnEdges?: boolean | undefined; | ||
invert?: boolean | undefined; | ||
sensitivity?: number | undefined; | ||
eventsTarged?: SelectableElement | undefined; | ||
} | ||
export interface VirtualOptions { | ||
slides?: any[]; | ||
cache?: boolean; | ||
addSlidesBefore?: number; | ||
addSlidesAfter?: number; | ||
renderSlide?: (slide: any, index: any) => any; | ||
renderExternal?: (data: any) => any; | ||
slides?: any[] | undefined; | ||
cache?: boolean | undefined; | ||
addSlidesBefore?: number | undefined; | ||
addSlidesAfter?: number | undefined; | ||
renderSlide?: ((slide: any, index: any) => any) | undefined; | ||
renderExternal?: ((data: any) => any) | undefined; | ||
} | ||
@@ -1107,3 +1107,3 @@ | ||
*/ | ||
watchState?: boolean; | ||
watchState?: boolean | undefined; | ||
@@ -1116,3 +1116,3 @@ /** | ||
*/ | ||
replaceState?: boolean; | ||
replaceState?: boolean | undefined; | ||
} | ||
@@ -1127,3 +1127,3 @@ | ||
*/ | ||
replaceState?: boolean; | ||
replaceState?: boolean | undefined; | ||
@@ -1135,3 +1135,3 @@ /** | ||
*/ | ||
key?: string; | ||
key?: string | undefined; | ||
} | ||
@@ -1154,3 +1154,3 @@ | ||
*/ | ||
control?: Swiper; | ||
control?: Swiper | undefined; | ||
@@ -1162,3 +1162,3 @@ /** | ||
*/ | ||
inverse?: boolean; | ||
inverse?: boolean | undefined; | ||
@@ -1172,3 +1172,3 @@ /** | ||
*/ | ||
by?: 'slide' | 'container'; | ||
by?: 'slide' | 'container' | undefined; | ||
} | ||
@@ -1182,3 +1182,3 @@ | ||
*/ | ||
enabled?: boolean; | ||
enabled?: boolean | undefined; | ||
@@ -1190,3 +1190,3 @@ /** | ||
*/ | ||
prevSlideMessage?: string; | ||
prevSlideMessage?: string | undefined; | ||
@@ -1198,3 +1198,3 @@ /** | ||
*/ | ||
nextSlideMessage?: string; | ||
nextSlideMessage?: string | undefined; | ||
@@ -1206,3 +1206,3 @@ /** | ||
*/ | ||
firstSlideMessage?: string; | ||
firstSlideMessage?: string | undefined; | ||
@@ -1214,3 +1214,3 @@ /** | ||
*/ | ||
lastSlideMessage?: string; | ||
lastSlideMessage?: string | undefined; | ||
@@ -1222,3 +1222,3 @@ /** | ||
*/ | ||
paginationBulletMessage?: string; | ||
paginationBulletMessage?: string | undefined; | ||
@@ -1230,3 +1230,3 @@ /** | ||
*/ | ||
notificationClass?: string; | ||
notificationClass?: string | undefined; | ||
} | ||
@@ -1642,3 +1642,3 @@ | ||
*/ | ||
navigation?: Navigation; | ||
navigation?: Navigation | undefined; | ||
@@ -1648,3 +1648,3 @@ /** | ||
*/ | ||
pagination?: Pagination; | ||
pagination?: Pagination | undefined; | ||
@@ -1654,3 +1654,3 @@ /** | ||
*/ | ||
scrollbar?: Scrollbar; | ||
scrollbar?: Scrollbar | undefined; | ||
@@ -1660,3 +1660,3 @@ /** | ||
*/ | ||
autoplay?: Autoplay; | ||
autoplay?: Autoplay | undefined; | ||
@@ -1666,3 +1666,3 @@ /** | ||
*/ | ||
parallax?: Parallax; | ||
parallax?: Parallax | undefined; | ||
@@ -1672,3 +1672,3 @@ /** | ||
*/ | ||
lazy?: Lazy; | ||
lazy?: Lazy | undefined; | ||
@@ -1678,3 +1678,3 @@ /** | ||
*/ | ||
fadeEffect?: EffectFade; | ||
fadeEffect?: EffectFade | undefined; | ||
@@ -1684,3 +1684,3 @@ /** | ||
*/ | ||
coverflowEffect?: EffectCoverflow; | ||
coverflowEffect?: EffectCoverflow | undefined; | ||
@@ -1690,3 +1690,3 @@ /** | ||
*/ | ||
flipEffect?: EffectFlip; | ||
flipEffect?: EffectFlip | undefined; | ||
@@ -1696,3 +1696,3 @@ /** | ||
*/ | ||
cubeEffect?: EffectCube; | ||
cubeEffect?: EffectCube | undefined; | ||
@@ -1702,3 +1702,3 @@ /** | ||
*/ | ||
thumbs?: object; | ||
thumbs?: object | undefined; | ||
@@ -1708,3 +1708,3 @@ /** | ||
*/ | ||
zoom?: Zoom; | ||
zoom?: Zoom | undefined; | ||
@@ -1714,3 +1714,3 @@ /** | ||
*/ | ||
keyboard?: Keyboard; | ||
keyboard?: Keyboard | undefined; | ||
@@ -1720,3 +1720,3 @@ /** | ||
*/ | ||
mousewheel?: Mousewheel; | ||
mousewheel?: Mousewheel | undefined; | ||
@@ -1726,3 +1726,3 @@ /** | ||
*/ | ||
virtual?: Virtual; | ||
virtual?: Virtual | undefined; | ||
@@ -1732,3 +1732,3 @@ /** | ||
*/ | ||
hashNavigation?: HashNavigation; | ||
hashNavigation?: HashNavigation | undefined; | ||
@@ -1738,3 +1738,3 @@ /** | ||
*/ | ||
history?: History; | ||
history?: History | undefined; | ||
@@ -1744,3 +1744,3 @@ /** | ||
*/ | ||
controller?: Controller; | ||
controller?: Controller | undefined; | ||
@@ -1750,3 +1750,3 @@ /** | ||
*/ | ||
a11y?: A11y; | ||
a11y?: A11y | undefined; | ||
} |
{ | ||
"name": "@types/swiper", | ||
"version": "4.4.11", | ||
"version": "4.4.12", | ||
"description": "TypeScript definitions for Swiper", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/swiper", | ||
"license": "MIT", | ||
@@ -52,4 +53,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "0140384d3a907b412c19c22c97507fb22e7adf922b1e29484c61748683ed4f3a", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "4fe6824cd6698043d00cec23b79d98d9edd5f55951154c6862fa0c45ed8ae1f9", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 28 Oct 2020 18:56:28 GMT | ||
* Last updated: Fri, 02 Jul 2021 22:33:19 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
52807