CroudTech/vue-fullcalendar

Custom button text

George2215 opened this issue · 4 comments

I can not customize the text of the buttons, I appreciate your orientation

the button listWeek and listDay always shown "list"

this my code:

header: {
     left: 'prev,next, today',
     center: 'title',
     right: 'month,listWeek,listDay'
 },
views: {              
      listWeek: 'List Week',
      listDay: 'List Day'
 }

How are you passing these objects into the component?

<full-calendar :events="events"                       
                       :config="config"                       
                       :header="header"
                       :views="views"
                       :defaultView="defaultView"                                                  
                       @day-click="dayClick" 
                       @event-selected="eventSelected"
        >
</full-calendar>

views isn't a prop, you will have to pass it through the custom config prop

thank you so much, solved...