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

How to select custom date on initial load of calender? #78

Open
rajdu opened this issue Jul 8, 2018 · 1 comment
Open

How to select custom date on initial load of calender? #78

rajdu opened this issue Jul 8, 2018 · 1 comment

Comments

@rajdu
Copy link

rajdu commented Jul 8, 2018

Hi,
suppose i i added a event which contains the event of month august so i want to load the calender of august view on load.
currently on load it shows current month.
please help

@twinssbc
Copy link
Owner

twinssbc commented Jul 8, 2018

@rajdu Suppose you bind the model to currentDate, you just need to set the currentDate to a date in August, the calendar will automatically navigate to August.

<calendar ng-model="currentDate" ...></calendar>

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