Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekview hide day number. #562

Open
sintesiNick opened this issue Nov 9, 2023 · 1 comment
Open

Weekview hide day number. #562

sintesiNick opened this issue Nov 9, 2023 · 1 comment

Comments

@sintesiNick
Copy link

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
Copy link

pkerspe commented Nov 9, 2023

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants