mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 21:06:14 +08: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](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:
8
types/owl.carousel/index.d.ts
vendored
8
types/owl.carousel/index.d.ts
vendored
@@ -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