File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 167
167
| selectedDaysCount |Number | Get number of days between date range dates
168
168
| opened | | The picker is opened
169
169
| closed | | The picker is closed
170
- ##### Add the ref attribute to the Calendar tab, exposing three methods to switch the month directly
170
+
171
+ ##### Add the ref attribute to the calendar component and use these methods to do more.
171
172
` ` ` ` javascript
172
173
For example: <FunctionalCalendar ref="Calendar"></FunctionalCalendar>
173
174
@@ -176,6 +177,6 @@ For example: <FunctionalCalendar ref="Calendar"></FunctionalCalendar>
176
177
✅ this.$refs.Calendar.PreYear(); //Call method implementation to go to previous year
177
178
✅ this.$refs.Calendar.NextYear(); //Call method implementation to go to next year
178
179
✅ this.$refs.Calendar.ChooseDate('today'); //Call method implementation to go to today
179
- ✅ this.$refs.Calendar.ChooseDate('2018-12-12 '); //Call method implementation to go to a date
180
+ ✅ this.$refs.Calendar.ChooseDate('25/09/2020 '); //Call method implementation to go to a date
180
181
` ` ` `
181
182
___
You can’t perform that action at this time.
0 commit comments