Rather than just passing a number to indicate the direction of the navigation change, it now returns an object containing the view type, start date, end date and direction.
This will allow for things like lazy loading of data on view change, caching, etc.
This PR resolves #17.
Rather than just passing a number to indicate the direction of the navigation change, it now returns an object containing the view type, start date, end date and direction.
This will allow for things like lazy loading of data on view change, caching, etc.