converts scheduler's data to the ICal format
header | string | sets the value for the content's header field |
string | a data string in the ICal format |
var str = scheduler.toICal();
//or
var str = scheduler.toICal("My calendar");
The method requires the serialize plugin to be enabled.
Custom attributes are not supported.