api.getStores()
Description
Gets an object with the DataStore of Event Calendar
Usage
api.getStores(): object;
Returns
The method returns an object with DataStore:
{
state: DataStore // ( object )
}
Example
// create Event Calendar
const calendar = new eventCalendar.EventCalendar("#root", {
// configuration properties
});
// get the DataStore object of Event Calendar
const stores = calendar.api.getStores();
console.log(stores);