nhn / toast-ui.vue-calendar

Toast UI Calendar for Vue
MIT License
195 stars 54 forks source link

How to use this method updateSchedule #9

Closed xiaomao996688 closed 5 years ago

xiaomao996688 commented 5 years ago

How to use this method calendar.updateSchedule(schedule.id, schedule.calendarId, {          Start: startTime,          End: endTime      });

sohee-lee7 commented 5 years ago

You should use invoke for use method. This link is how to use invoke. https://github.com/nhnent/toast-ui.vue-calendar#method

xiaomao996688 commented 5 years ago

invoke

image image image image I use this method in this way does not work.

sohee-lee7 commented 5 years ago

Try this code.

this.$refs.tuiCal.invoke('updateSchedule', e.schedule.id, e.schedule.calendarId, e.schedule);
xiaomao996688 commented 5 years ago

Try this code.

this.$refs.tuiCal.invoke('updateSchedule', e.schedule.id, e.schedule.calendarId, e.schedule);

thank you for your help。