📅 A date picker components for ionic2 /ionic3 / ionic4
TODO
npm install [email protected] --save
this.calendarCtrl.openCalendar({
from: new Date(2017,1,1),
...
- isRadio: fasle,
+ pickMode: 'range', // 'multi', 'range', 'single'
- disableWeekdays: [0, 6],
+ disableWeeks: [0, 6],
- weekStartDay: 1,
+ weekStart: 1,
- weekdaysTitle: "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
+ weekdays: "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
- monthTitle: 'MMM yyyy',
+ monthFormat: 'MMM yyyy',
...
})
Feature:
Fix: #35 #52
run npm install ion2-calendar@beta --save
this.calendarCtrl.openCalendar({
from: new Date(2017,1,1),
...
+ autoDone: false, // is auto done
+ closeLabel: 'close',
+ closeIcon: false, // is display close icon
+ doneLabel: 'done',
+ doneIcon: false, // is display done icon
+ color: 'primary' // 'primary' | 'secondary' | 'danger' | 'light' | 'dark'
...
})
Add:
isSaveHistory
Options. (#12)setHistory
, getHistory
, removeHistory
APIcountNextMonths
Options. (#16)Improvements: