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

Some extra props #138

Closed
multipliedtwice opened this issue Nov 13, 2021 · 2 comments
Closed

Some extra props #138

multipliedtwice opened this issue Nov 13, 2021 · 2 comments

Comments

@multipliedtwice
Copy link

multipliedtwice commented Nov 13, 2021

Hello, thank you for the awesome library. Do you have any plans to add any of the following:

  1. startAt - for example to open the calendar on 18 years ago date?
  2. allow to input use Unix timestamp as a selectedDate?
@jonathangreenemeier-vizio

For #1, this is possible by setting or binding the selectedProp to a specific date: https://svelte.dev/repl/0c1cbd9bb5ee4be2a65fd843d2427c6b?version=3.44.1

You may have to adjust the start and end properties (date boundaries) if the start date it outside of the defaults. See the props documentation for more details.

I'm not quite sure what you mean by #2.

@multipliedtwice
Copy link
Author

Thank you.

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