Skip to content

Commit e4d20ae

Browse files
Update README.md
1 parent 2091f1a commit e4d20ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ ___
167167
| selectedDaysCount |Number | Get number of days between date range dates
168168
| opened | | The picker is opened
169169
| 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.
171172
````javascript
172173
For example: <FunctionalCalendar ref="Calendar"></FunctionalCalendar>
173174
@@ -176,6 +177,6 @@ For example: <FunctionalCalendar ref="Calendar"></FunctionalCalendar>
176177
✅ this.$refs.Calendar.PreYear(); //Call method implementation to go to previous year
177178
✅ this.$refs.Calendar.NextYear(); //Call method implementation to go to next year
178179
✅ 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
180181
````
181182
___

0 commit comments

Comments
 (0)