Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create calendar with color #57

Closed
agisboye opened this issue Apr 20, 2014 · 1 comment
Closed

Create calendar with color #57

agisboye opened this issue Apr 20, 2014 · 1 comment

Comments

@agisboye
Copy link

When creating a calendar with a name, it would be ideal to also be able to set the color of the calendar.

@EddyVerbruggen
Copy link
Owner

Hi @agisboye, thanks for the idea!

After updating the plugin to version 4.2.3 you can change the createCalendar call like this to pass in a color:

var options = window.plugins.calendar.getCreateCalendarOptions();
options.calendarName = "My Cal Name";
options.calendarColor = "#FF0000"; // hex color (with the # char)
window.plugins.calendar.createCalendar(options,success,error);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants