Creates a new ICAL.ComponentParser instance.
Component parser options
Optional
parseWhether events should be parsed
Optional
parseWhether timezones should be parsed
Fired when parsing is complete
When true, parse events
When true, parse timezones
Fired when a top level component (VEVENT) is found.
Top level component
Fired when a top level component (VTIMEZONE) is found
Timezone object
Process a string or parse ical object. This function itself will return nothing but will start the parsing process.
Events must be registered prior to calling this method.
The component to process, either in its final form, as a jCal Object, or string representation
Generated using TypeDoc
The ComponentParser is used to process a String or jCal Object, firing callbacks for various found components, as well as completion.
Example