Custom button text
George2215 opened this issue · 4 comments
George2215 commented
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'
}
BrockReece commented
How are you passing these objects into the component?
George2215 commented
<full-calendar :events="events"
:config="config"
:header="header"
:views="views"
:defaultView="defaultView"
@day-click="dayClick"
@event-selected="eventSelected"
>
</full-calendar>
BrockReece commented
views
isn't a prop, you will have to pass it through the custom config prop
George2215 commented
thank you so much, solved...