mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-31 11:40:47 +08:00
Update bootstrap.v3.datetimepicker.d.ts
Added four missing properties. See http://eonasdan.github.io/bootstrap-datetimepicker/Options/#showtodaybutton There's still quite a few missing but I'm running short on time.
This commit is contained in:
@@ -48,6 +48,10 @@ declare module BootstrapV3DatetimePicker {
|
||||
direction?: string;
|
||||
sideBySide?: boolean;
|
||||
daysOfWeekDisabled?: Array<any>;
|
||||
calendarWeeks?: boolean;
|
||||
format?: string | boolean;
|
||||
locale?: string;
|
||||
showTodayButton?: boolean;
|
||||
}
|
||||
|
||||
interface Datetimepicker {
|
||||
@@ -97,4 +101,4 @@ interface JQuery {
|
||||
on(events: 'dp.error', handler: (eventObject: BootstrapV3DatetimePicker.DatetimepickerEventObject) => any): JQuery;
|
||||
|
||||
data(key: 'DateTimePicker'): BootstrapV3DatetimePicker.Datetimepicker;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user