Members
(static) components :Object
Holds the design set for known top-level components
- Object
Name | Type | Description |
---|---|---|
vcard | ICAL. | vCard VCARD |
vevent | ICAL. | iCalendar VEVENT |
vtodo | ICAL. | iCalendar VTODO |
vjournal | ICAL. | iCalendar VJOURNAL |
valarm | ICAL. | iCalendar VALARM |
vtimezone | ICAL. | iCalendar VTIMEZONE |
daylight | ICAL. | iCalendar DAYLIGHT |
standard | ICAL. | iCalendar STANDARD |
let propertyName = 'fn';
let componentDesign = ICAL.design.components.vcard;
let propertyDetails = componentDesign.property[propertyName];
if (propertyDetails.defaultType == 'text') {
// Yep, sure is...
}
(static) defaultSet :ICAL.design.designSet
The default set for new properties and components if none is specified.
(static) defaultType :String
The default type for unknown properties
- String
(static) icalendar :ICAL.design.designSet
The design set for iCalendar (rfc5545/rfc7265) components.
(static) strict
Can be set to false to make the parser more lenient.
(static) vcard :ICAL.design.designSet
The design set for vCard (rfc6350/rfc7095) components.
(static) vcard3 :ICAL.design.designSet
The design set for vCard (rfc2425/rfc2426/rfc7095) components.
(inner) icalSet :ICAL.design.designSet
iCalendar design set
(inner) vcard3Set :ICAL.design.designSet
vCard 3.0 design set
(inner) vcardSet :ICAL.design.designSet
vCard 4.0 design set
Methods
(static) getDesignSet(componentName) → {ICAL.design.designSet}
Gets the design set for the given component name.
Name | Type | Description |
---|---|---|
componentName | String | The name of the component |
The design set for the component
- Type:
- ICAL.
design. designSet