Update OwlCarousel2 typings

I updated the options according to https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html.

- added `lazyLoadEager` and removed `lazyContent` ([source](44571f95d5 (diff-16d5a8e7f1181df10837309167888eed)))
- renamed `dotData` to `dotsData` ([source](1915cb0d41 (diff-16d5a8e7f1181df10837309167888eed)))
- added checkVisible ([source](e5ea9a5069 (diff-16d5a8e7f1181df10837309167888eed)))
- added `slideTransition` ([source](40e28e09e4 (diff-16d5a8e7f1181df10837309167888eed)))
This commit is contained in:
Markus Fasselt
2018-06-12 22:28:11 +02:00
parent 3670973099
commit 95be28fed5

View File

@@ -1,4 +1,4 @@
// Type definitions for owl.carousel 2.2
// Type definitions for owl.carousel 2.3
// Project: https://github.com/OwlCarousel2/OwlCarousel2
// Definitions by: Ismael Gorissen <https://github.com/igorissen>
// Kenneth Ceyer <https://github.com/KennethanCeyer>
@@ -31,9 +31,9 @@ declare namespace OwlCarousel {
slideBy?: number | string;
dots?: boolean;
dotsEach?: number | boolean;
dotData?: boolean;
dotsData?: boolean;
lazyLoad?: boolean;
lazyContent?: boolean;
lazyLoadEager?: number;
autoplay?: boolean;
autoplayTimeout?: number;
autoplayHoverPause?: boolean;
@@ -59,6 +59,8 @@ declare namespace OwlCarousel {
stageElement?: string;
navContainer?: string | boolean;
dotsContainer?: string | boolean;
checkVisible?: boolean;
slideTransition?: string;
// CLASSES
refreshClass?: string;
loadingClass?: string;