UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

28 lines (24 loc) 809 B
// Type definitions for bootstrap.timepicker // Project: https://github.com/jdewit/bootstrap-timepicker // Definitions by: derikwhittaker <https://github.com/derikwhittaker/> // Definitions: https://github.com/DefinitelyTyped/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; }