diff --git a/selectableScroll.d.ts b/selectableScroll.d.ts new file mode 100644 index 0000000..1450791 --- /dev/null +++ b/selectableScroll.d.ts @@ -0,0 +1,28 @@ +/// +/// + +declare namespace JQueryUI{ + interface SelectableScrollOptions extends SelectableOptions { + scrollElement?: JQuery | null; + scrollSnapX?: number; + scrollSnapY?: number; + scrollAmount?: number; + scrollIntervalTime?: number; + } + + interface SelectableScroll extends Selectable{ + } +} + +interface JQuery{ + selectableScroll(): JQuery; + selectableScroll(methodName: 'destroy'): void; + selectableScroll(methodName: 'disable'): void; + selectableScroll(methodName: 'enable'): void; + selectableScroll(methodName: 'widget'): JQuery; + selectableScroll(methodName: string): JQuery; + selectableScroll(options: JQueryUI.SelectableScrollOptions): JQuery; + selectableScroll(optionLiteral: string, optionName: string): any; + selectableScroll(optionLiteral: string, options: JQueryUI.SelectableScrollOptions): any; + selectableScroll(optionLiteral: string, optionName: string, optionValue: any): JQuery; +} \ No newline at end of file