gCalMarkup has several reserved HTML element attributes that are used to remove HTML elements under certain conditions:
- gCalCategory="category"
- If the current event is not in the given category, the element is removed
- e.g. gCalCategory="local" - this HTML element will be removed unless the current event, the calendar it is from, or the group its calendar is in, are in the local category.
- gCalMarkup.ifProperty="property"
- gCalMarkup.ifPropertyAll="property"
- gCalMarkup.ifPropertyAny="property"
- If the current event does not contain the given property, the event is removed
- e.g. gCalMarkup.ifProperty="hrefImage" - this HTML element will be removed unless the current event, the calendar it is in, or its group contains a property named "hrefImage".
- gCalMarkup.style.x="color:{gCalMarkup color/}"