added "initDate" to IDatePickerConfig (#13136)

This commit is contained in:
Ryan Southgate
2016-12-24 09:56:12 +00:00
committed by Masahiro Wakame
parent e3885ed339
commit c32938577f
2 changed files with 8 additions and 2 deletions

View File

@@ -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';

View File

@@ -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
*