mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
28 lines
805 B
TypeScript
28 lines
805 B
TypeScript
// Type definitions for bootstrap.timepicker
|
|
// Project: https://github.com/jdewit/bootstrap-timepicker
|
|
// Definitions by: derikwhittaker <https://github.com/derikwhittaker/>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
/// <reference path="../jquery/jquery.d.ts"/>
|
|
|
|
interface TimeickerOptions {
|
|
defaultTime?: string;
|
|
disableFocus?: boolean;
|
|
isOpen?: boolean;
|
|
minuteStep?: number;
|
|
modalBackdrop?: boolean;
|
|
secondStep?: number;
|
|
showSeconds?: boolean;
|
|
showInputs?: boolean;
|
|
showMeridian?: boolean;
|
|
template?: string;
|
|
appendWidgetTo?: string;
|
|
}
|
|
|
|
interface JQuery {
|
|
timepicker(): JQuery;
|
|
timepicker(methodName: string): JQuery;
|
|
timepicker(methodName: string, params: any): JQuery;
|
|
timepicker(options: TimeickerOptions): JQuery;
|
|
}
|