mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
added "initDate" to IDatePickerConfig (#13136)
This commit is contained in:
committed by
Masahiro Wakame
parent
e3885ed339
commit
c32938577f
@@ -38,6 +38,7 @@ testApp.config((
|
||||
$datepickerConfig.formatMonth = 'M';
|
||||
$datepickerConfig.formatMonthTitle = 'yy';
|
||||
$datepickerConfig.formatYear = 'y';
|
||||
$datepickerConfig.initDate = '1389586124979';
|
||||
$datepickerConfig.maxDate = '1389586124979';
|
||||
$datepickerConfig.maxMode = 'month';
|
||||
$datepickerConfig.minDate = '1389586124979';
|
||||
|
||||
9
angular-ui-bootstrap/index.d.ts
vendored
9
angular-ui-bootstrap/index.d.ts
vendored
@@ -42,7 +42,6 @@ declare module 'angular' {
|
||||
closeOthers?: boolean;
|
||||
}
|
||||
|
||||
|
||||
interface IButtonConfig {
|
||||
/**
|
||||
* @default: 'active'
|
||||
@@ -55,7 +54,6 @@ declare module 'angular' {
|
||||
toggleEvent?: string;
|
||||
}
|
||||
|
||||
|
||||
interface IDatepickerConfig {
|
||||
/**
|
||||
* Format of day in month.
|
||||
@@ -155,6 +153,13 @@ declare module 'angular' {
|
||||
*/
|
||||
maxDate?: any;
|
||||
|
||||
/**
|
||||
* Defines the initial date, when no model value is specified.
|
||||
*
|
||||
* @default null
|
||||
*/
|
||||
initDate?: any;
|
||||
|
||||
/**
|
||||
* An option to disable or enable shortcut's event propagation
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user