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

no variable/method to get "start" and "end" date from calendar. #536

Closed
navdeepghai1 opened this issue Apr 10, 2023 · 4 comments
Closed

Comments

@navdeepghai1
Copy link

There should be a way to get "start" and "end" date of current calendar view.

Screenshot 2023-04-10 at 1 48 14 PM

@t1m0n
Copy link
Owner

t1m0n commented Apr 11, 2023

Agreed, would be nice feature.

@t1m0n
Copy link
Owner

t1m0n commented Aug 8, 2023

Added method getViewDates in last release - https://air-datepicker.com/ru/methods?scrollTo=getViewDates(view?) which should return array of all dates that should be visible in calendar. You can use this to get first or last date.

@mjahid98
Copy link

Is there a way to show two months together in the calendar view? Something similar to the screenshot. Also, is there a way to switch to a different month programmatically with JS?
image

@t1m0n
Copy link
Owner

t1m0n commented Mar 22, 2024

@mjahid98 unfortunately no. You can use https://air-datepicker.com/methods?scrollTo=setViewDate to switch between different months

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

No branches or pull requests

3 participants