Update options to be nullable

This commit is contained in:
Brian Surowiec
2017-04-17 16:33:48 -04:00
parent a83d90b89c
commit 40d122dbc7
+45 -45
View File
@@ -8,53 +8,53 @@
interface IOwlCarouselOptions {
// options
items: number;
itemsDesktop: number[];
itemsDesktopSmall: number[];
itemsTablet: number[];
itemsTabletSmall: any;
itemsMobile: number[];
itemsCustom: any;
singleItem: boolean;
itemsScaleUp: boolean;
slideSpeed: number;
paginationSpeed: number;
rewindSpeed: number;
autoPlay: any;
stopOnHover: boolean;
navigation: boolean;
navigationText: any;
rewindNav: boolean;
scrollPerPage: boolean;
pagination: boolean;
paginationNumbers: boolean;
responsive: boolean;
responsiveRefreshRate: number;
responsiveBaseWidth: JQuery;
baseClass: string;
theme: string;
lazyLoad: boolean;
lazyFollow: boolean;
lazyEffect: any;
autoHeight: boolean;
jsonPath: any;
jsonSuccess: (data: any) => void;
dragBeforeAnimFinish: boolean;
mouseDrag: boolean;
touchDrag: boolean;
addClassActive: boolean;
transitionStyle: any;
items?: number;
itemsDesktop?: number[];
itemsDesktopSmall?: number[];
itemsTablet?: number[];
itemsTabletSmall?: any;
itemsMobile?: number[];
itemsCustom?: any;
singleItem?: boolean;
itemsScaleUp?: boolean;
slideSpeed?: number;
paginationSpeed?: number;
rewindSpeed?: number;
autoPlay?: any;
stopOnHover?: boolean;
navigation?: boolean;
navigationText?: any;
rewindNav?: boolean;
scrollPerPage?: boolean;
pagination?: boolean;
paginationNumbers?: boolean;
responsive?: boolean;
responsiveRefreshRate?: number;
responsiveBaseWidth?: JQuery;
baseClass?: string;
theme?: string;
lazyLoad?: boolean;
lazyFollow?: boolean;
lazyEffect?: any;
autoHeight?: boolean;
jsonPath?: any;
jsonSuccess?: (data: any) => void;
dragBeforeAnimFinish?: boolean;
mouseDrag?: boolean;
touchDrag?: boolean;
addClassActive?: boolean;
transitionStyle?: any;
// callbacks
beforeUpdate: (params?: any) => void;
afterUpdate: (params?: any) => void;
beforeInit: (params?: any) => void;
afterInit: (params?: any) => void;
beforeMove: (params?: any) => void;
afterMove: (params?: any) => void;
afterAction: (params?: any) => void;
startDragging: (params?: any) => void;
afterLazyLoad: (params?: any) => void;
beforeUpdate?: (params?: any) => void;
afterUpdate?: (params?: any) => void;
beforeInit?: (params?: any) => void;
afterInit?: (params?: any) => void;
beforeMove?: (params?: any) => void;
afterMove?: (params?: any) => void;
afterAction?: (params?: any) => void;
startDragging?: (params?: any) => void;
afterLazyLoad?: (params?: any) => void;
}
interface JQuery {