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

Timeline View navigation #241

Open
thapachaki opened this issue Jul 8, 2024 · 2 comments
Open

Timeline View navigation #241

thapachaki opened this issue Jul 8, 2024 · 2 comments

Comments

@thapachaki
Copy link

Hello! The library is great, a lot of features!
I have a question: is it posible to use functions like "moveToPreviousMonth()", "moveToNextMonth()", or a function to move to certain date in the Timeline View? I have tried but with no luck.
Thanks in advance, William!

@williamtroup
Copy link
Collaborator

Hello!

This is planned for a future upgrade. I'm currently working on moving the project over to TypeScript, so I can have a more manageable code base, and allow greater integration into other frameworks. Once this is done, the next phase is features like this. For example, being able to specify your default view, all views updating when public functions are called.

For the moment though, the Month view is the source of truth for the project. All views open using the Month date as the core date to display.

Thanks for using the project and stay tuned! Don't forget to like and share the project as well :)

Thanks

Will

@thapachaki
Copy link
Author

Thank you, Will!
However, I found a solution using JQuery for anyone who need it:
$('.jump-to-date').find('input[type="date"]').val('2024-10-03'); // date in SQL format
$('.go').trigger('click');

Greetings!

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