[CustomList] Mehtod to list events using input custom options
See original GitHub issueBesides listUpcomingEvents
it would be nice to have a method listEvents
that receive the list query options as parameter, enabling custom fetches.
The method could be like that:
/**
* List all events in the calendar queried by custom query options
* See all available options here https://developers.google.com/calendar/v3/reference/events/list
* @param {object} queryOptions to see
* @param {string} calendarId to see by default use the calendar attribute
* @returns {any}
*/
public listEvents(
queryOptions: object,
calendarId: string = this.calendar
): any {
if (this.gapi) {
return this.gapi.client.calendar.events.list({
calendarId,
...queryOptions
});
} else {
console.log('Error: this.gapi not loaded');
return false;
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
HTML select form with option to enter custom value
HTML5 has a built-in combo box. You create a text input and a datalist . Then you add a list attribute to the...
Read more >Custom events in JavaScript: A complete guide
In this tutorial, you can learn how to create custom events in JavaScript for your application to enhance the user experience.
Read more >Feature Guide: Custom List | Webex Events : Knowledge Base
From the Custom List page, click the New Item button to add a new item, or click the Categories tab to set up...
Read more >Creating a To-do List with Custom Events | Developer Quick ...
In this Quick Take, we discuss how to communicate across the DOM using Custom Events. Creating a ToDo list will show us how...
Read more >list-style-type - CSS: Cascading Style Sheets - MDN Web Docs
The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will review tomorrow morning.
@bateradt can you review my PR please? PR https://github.com/Kubessandra/react-google-calendar-api/pull/57