Skip to content

Commit

Permalink
release: 3.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz committed Jan 9, 2019
1 parent 9105959 commit 8539f76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@

# Support

- ionic-angular `^3.0.0`
- ionic-angular `^3.0.0` [2.x](https://github.com/HsuanXyz/ion2-calendar/tree/v2)
- ionic-angular `4.0.0`

# Demo
live demo [click me](https://hsuanxyz.github.io/demo/ion2-calendar/).

# Usage
### Installation
`$ npm install ion2-calendar moment --save`
`$ npm install ion2-calendar@next moment --save`

### Import module

Expand Down Expand Up @@ -233,13 +234,13 @@ Set pickMode to 'range'.
pickMode: 'range',
title: 'RANGE'
};

let myCalendar = this.modalCtrl.create(CalendarModal, {
options: options
});

myCalendar.present();

myCalendar.onDidDismiss((date: { from: CalendarResult; to: CalendarResult }, type: string) => {
console.log(date);
});
Expand All @@ -256,13 +257,13 @@ Set pickMode to 'multi'.
pickMode: 'multi',
title: 'MULTI'
};

let myCalendar = this.modalCtrl.create(CalendarModal, {
options: options
});

myCalendar.present();

myCalendar.onDidDismiss((date: CalendarResult[], type: string) => {
console.log(date);
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion2-calendar",
"version": "2.2.0",
"version": "3.0.0-rc.0",
"description": "A date picker component for ionic2 ",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down

0 comments on commit 8539f76

Please sign in to comment.