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

added "changeViewMode" event; also adds the current viewMode to events #1953

Merged
merged 2 commits into from
Jul 27, 2016

Conversation

AubreyHewes
Copy link
Contributor

Adds a "changeViewMode" event (triggered by navArrowsClick). Also adds the current viewMode to any triggered events.

So now you can watch changeViewMode and depending on the event.viewMode and the event.date you can do something..

The reasoning was that on a viewMode change I wanted to be able to get dates by viewMode range from a backend and then redraw the component ...

@acrobat acrobat added this to the 1.7.0 milestone Jul 27, 2016
@acrobat
Copy link
Member

acrobat commented Jul 27, 2016

Thanks @AubreyHewes

@acrobat acrobat merged commit a1ac39a into uxsolutions:master Jul 27, 2016
@acrobat acrobat mentioned this pull request May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants