Skip to main content

toICal

Description

Converts scheduler's data to the ICal format

toICal: (header?: string) => string

Parameters

  • header - (optional) string - sets the value for the content's header field

Returns

  • string - (string) - a data string in the ICal format

Example

var str = scheduler.toICal();
//or
var str = scheduler.toICal("My calendar");

Details

note

The method requires the serialize plugin to be enabled.

note

Custom attributes are not supported.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.