Last active
May 18, 2016 11:39
-
-
Save virtualvoid/fc4b7a6fa209210585b6c563ca59d0f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="jquery.d.ts" /> | |
// ClockPicker v0.0.7 (http://weareoutman.github.io/clockpicker/) | |
// DefinitelyTyped by Juraj "VirtualVoid" Suchán | |
interface ClockPickerOptions { | |
default?: string; | |
fromnow?: number; | |
placement?: string; | |
align?: string; | |
donetext?: string; | |
autoclose?: boolean; | |
twelvehour?: boolean; | |
vibrate?: boolean; | |
beforeShow?: () => void; | |
afterShow?: () => void; | |
beforeHide?: () => void; | |
afterHide?: () => void; | |
beforeHourSelect?: () => void; | |
afterHourSelect?: () => void; | |
beforeDone?: () => void; | |
afterDone?: (obj: any) => void; | |
} | |
interface ClockPicker { | |
(options?: ClockPickerOptions): JQuery; | |
(methodName: string, ...params: any[]): JQuery; | |
} | |
interface JQuery { | |
clockpicker: ClockPicker; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment