mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Update OwlCarousel2 typings
I updated the options according to https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html. - added `lazyLoadEager` and removed `lazyContent` ([source](https://github.com/OwlCarousel2/OwlCarousel2/commit/44571f95d5850d19d27fa634d443d9215eae7699#diff-16d5a8e7f1181df10837309167888eed)) - renamed `dotData` to `dotsData` ([source](https://github.com/OwlCarousel2/OwlCarousel2/commit/1915cb0d415005f0df118919d1e433221e36a764#diff-16d5a8e7f1181df10837309167888eed)) - added checkVisible ([source](https://github.com/OwlCarousel2/OwlCarousel2/commit/e5ea9a506994c18ea2b0575df20bc6dfeb79feb0#diff-16d5a8e7f1181df10837309167888eed)) - added `slideTransition` ([source](https://github.com/OwlCarousel2/OwlCarousel2/commit/40e28e09e44dfee4cf6d9c5e31bf29770ea0ec20#diff-16d5a8e7f1181df10837309167888eed))
This commit is contained in:
Vendored
+5
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user