getEventsView( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Doesn’t return details about events within the view. You can use queryEvents(), providing eventsView.endDate as toLocalDate to retrieve the events.

Method Declaration
Copy
function getEventsView(): Promise<GetEventsViewResponse>;
Request
This method does not take any parameters
Returns
Return Type:Promise<GetEventsViewResponse>
JavaScript
import { eventViews } from "@wix/calendar"; async function getEventsView() { const response = await eventViews.getEventsView(); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?