antoniandre / vue-cal-v4

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal-v4/
MIT License
1.25k stars 235 forks source link

Weekview hide day number. #562

Open sintesiNick opened 1 year ago

sintesiNick commented 1 year ago

Hi! First of all, love the calendar.

Currently we're using it to implement a schedule, and I was wondering if it's possible to disable the day number on week view? Example right now [Monday 6] What we want [Monday]

So basically we just want to disable the date number behind the day name. Is this currently possible with a setting already?

pkerspe commented 1 year ago

you can override the slot "weekday-heading" e.g.: <vue-cal active-view="week" :disable-views="['years', 'year', 'month', 'day']"> <template #weekday-heading="{ heading }">{{ heading.label }}</template> </vue-cal>