Members
(static) components :Object
Holds the design set for known top-level components
- Object
Name | Type | Description |
---|---|---|
vcard | module:ICAL~ICAL. | vCard VCARD |
vevent | module:ICAL~ICAL. | iCalendar VEVENT |
vtodo | module:ICAL~ICAL. | iCalendar VTODO |
vjournal | module:ICAL~ICAL. | iCalendar VJOURNAL |
valarm | module:ICAL~ICAL. | iCalendar VALARM |
vtimezone | module:ICAL~ICAL. | iCalendar VTIMEZONE |
daylight | module:ICAL~ICAL. | iCalendar DAYLIGHT |
standard | module:ICAL~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 :module:ICAL~ICAL.design.designSet
The default set for new properties and components if none is specified.
- module:ICAL~ICAL.
design. designSet
(static) defaultType :String
The default type for unknown properties
- String
(static) icalendar :module:ICAL~ICAL.design.designSet
The design set for iCalendar (rfc5545/rfc7265) components.
- module:ICAL~ICAL.
design. designSet
(static) strict
Can be set to false to make the parser more lenient.
(static) vcard :module:ICAL~ICAL.design.designSet
The design set for vCard (rfc6350/rfc7095) components.
- module:ICAL~ICAL.
design. designSet
(static) vcard3 :module:ICAL~ICAL.design.designSet
The design set for vCard (rfc2425/rfc2426/rfc7095) components.
- module:ICAL~ICAL.
design. designSet
(inner) icalSet :module:ICAL~ICAL.design.designSet
iCalendar design set
- module:ICAL~ICAL.
design. designSet
(inner) vcard3Set :module:ICAL~ICAL.design.designSet
vCard 3.0 design set
- module:ICAL~ICAL.
design. designSet
(inner) vcardSet :module:ICAL~ICAL.design.designSet
vCard 4.0 design set
- module:ICAL~ICAL.
design. designSet
Methods
(static) getDesignSet(componentName) → {module:ICAL~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:
- module:ICAL~ICAL.
design. designSet