Added comments about options of Date type

and fixed the build
This commit is contained in:
Omid K. Rad 2014-06-26 19:38:07 -07:00
parent dbbde7e87d
commit 93f0a11eb6

View File

@ -6,20 +6,26 @@
/// <reference path="../jquery/jquery.d.ts"/>
/**
* See online docs: http://bootstrap-datepicker.readthedocs.org/
* All options that take a Date can handle a Date object; a String
* formatted according to the given format; or a timedelta relative
* to today, eg -1d, +6m +1y, etc, where valid units are d (day),
* w (week), m (month), and y (year).
*
* See online docs for more info:
* http://bootstrap-datepicker.readthedocs.org/en/release/options.html
*/
interface DatepickerOptions {
format?: string;
weekStart?: number;
startDate?: Date;
endDate?: Date;
startDate?: any;
endDate?: any;
autoclose?: boolean;
startView?: number;
todayBtn?: any;
todayHighlight?: boolean;
keyboardNavigation?: boolean;
language?: string;
beforeShowDay?: (Date) => any;
beforeShowDay?: (date: any) => any;
calendarWeeks?: boolean;
clearBtn?: boolean;
daysOfWeekDisabled?: number[];