You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
I want to call vue-calendar from another component. The other component is a full year calendar.
From the full year calendar component, I pass the month and year info but I do now know how to pass it into vue-calendar.
I saw in the month.js that there is a renderMonth property under monthOption but it doesn't seem to change to the month I want.
//month.jsthis.options=util.extend({scheduleFilter: function(schedule){returnBoolean(schedule.isVisible);},startDayOfWeek: 0,renderMonth: '2018-01',// <---- this onedaynames: ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],narrowWeekend: false,visibleWeeksCount: null,isAlways6Week: true,isReadOnly: options.isReadOnly,grid: {header: {height: 34},footer: {height: 3}}},monthOption);//inside my vue filedata(){return{month: {visibleWeeksCount: 0,startDayOfWeek: 0,narrowWeekend: true,isAlways6Week: false,renderMonth: '2020-01'// <---- then this}}}
Expected Behavior
I am already able to display the default month view and display some schedules. It's just that I want to show the desired month based from the full year component.
The text was updated successfully, but these errors were encountered:
Version
v1.1.1
Test Environment
Windows10, Chrome
Current Behavior
I want to call vue-calendar from another component. The other component is a full year calendar.
From the full year calendar component, I pass the month and year info but I do now know how to pass it into vue-calendar.
I saw in the month.js that there is a renderMonth property under monthOption but it doesn't seem to change to the month I want.
Expected Behavior
I am already able to display the default month view and display some schedules. It's just that I want to show the desired month based from the full year component.
The text was updated successfully, but these errors were encountered: