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

Slots for custom header #211

Open
brunotutrut opened this issue Nov 16, 2023 · 0 comments
Open

Slots for custom header #211

brunotutrut opened this issue Nov 16, 2023 · 0 comments

Comments

@brunotutrut
Copy link

brunotutrut commented Nov 16, 2023

Is your feature request related to a problem? Please describe.
Hi, i need to hide the datepicker (red line) and change the dropdown for modes (blue line) for a inline toggle.

Describe the solution you'd like
It's need to create props to hide this elements and scoped slots (exposing the function to change modes) for user can customize the layout more

Additional context
I'll appreciate if can expose the function to change modes in the component accesing by ref the component.

image

<qalendar ref="calendar" />

...
const qalendar = ref(null);
qalendar.value.changeMode('month');
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

1 participant