ion2-calendar
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -38,3 +38,3 @@ import { Component, Input, Output, EventEmitter, forwardRef } from '@angular/core'; | ||
this._writeValue(obj); | ||
if (this._calendarMonthValue[0] && this._calendarMonthValue[1]) { | ||
if (this._calendarMonthValue[0]) { | ||
this.monthOpt = this.createMonth(this._calendarMonthValue[0].time); | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "ion2-calendar", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "A date picker for ionic2 ", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -139,3 +139,3 @@ # 📅 ion2-calendar | ||
### 组件属性 | ||
### 输入属性 | ||
| Name | Type | Default | Description | | ||
@@ -147,2 +147,8 @@ | --------------- | ------------- | -------------- | ----------- | | ||
### 输出属性 | ||
| Name | Type | Description | | ||
| --------------- | ------------- | ----------- | | ||
| onChange | EventEmitter| 模型被改变 | | ||
| monthChange | EventEmitter | 月份被改变 | | ||
### CalendarComponentOptions | ||
@@ -365,3 +371,3 @@ | Name | Type | Default | Description | | ||
### 返回字段 | ||
### onDidDismiss 返回字段 [, param1] | ||
| pickMode | Type | | ||
@@ -373,2 +379,9 @@ | ------------- | ----- | | ||
### onDidDismiss 返回字段 [, param2] | ||
| Value | Description | | ||
| --------- | ----- | | ||
| 'cancel' | 通过取消按钮关闭 | | ||
| 'done' | 通过完成按钮关闭 | | ||
| 'backdrop' | 点击背景关闭 | | ||
### CalendarResult | ||
@@ -375,0 +388,0 @@ | Name | Type | |
@@ -150,2 +150,9 @@ # 📅 ion2-calendar | ||
### Output Properties | ||
| Name | Type | Description | | ||
| --------------- | ------------- | ----------- | | ||
| onChange | EventEmitter| event for model change | | ||
| monthChange | EventEmitter | event for month change | | ||
### CalendarComponentOptions | ||
@@ -356,3 +363,3 @@ | Name | Type | Default | Description | | ||
### onDidDismiss Output | ||
### onDidDismiss Output [, param1] | ||
@@ -365,2 +372,9 @@ | pickMode | Type | | ||
### onDidDismiss Output [, param2] | ||
| Value | Description | | ||
| --------- | ----- | | ||
| 'cancel' | dismissed by click the cancel button | | ||
| 'done' | dismissed by click the done button | | ||
| 'backdrop' | dismissed by click the backdrop | | ||
#### DaysConfig | ||
@@ -367,0 +381,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
160826
435