Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Callback to return current month in the view (not selected month) #5903

@jasonvdzeeuw

Description

@jasonvdzeeuw

I would love to have a callback when my view changes.
I need this 'onChangeView' function because of the following scenery:

My datepicker shows available and unavailable dates with the customClass function.
I fetch all availabilities of the first month, but when I click next or previous, I don't have any callback to fetch the new availabilities.

Also, I don't want an asynchronous call 42 times (one for every class) because you will also get lots of timing issues in de datepicker.
If there is already any way to achieve this, I'm sorry, but I've searched very long for a solution now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions