How do I change a color of an event in extensible calendar?

488 views Asked by At

By digging through some example code I figured out that an event has a number of properties such as id, title, start, end :

    "evts" : [{
        "id"    : 1001,
        "cid"   : 1,
        "title" : "TRACPaket1",
        "start" : makeDate(-20, 10), //d, //h
        "end"   : makeDate(10, 15),
        "notes" : "Have fun"
    },..

I would like to see what other things I can do with an event. For instance, it would be good if I could change the background (or foreground) color of an event, or even add a custom icon to the event.

Is this documented anywhere? Is there a complete list of what constitutes an event object?

1

There are 1 answers

5
Chris Sprague On

Might these docs be what you were looking for? After a quick scan of the page, I couldn't find anything pertaining to colors within the events themselves, but I imagine it's possible.