Gets or sets the Reminder for this Item.
Namespace: MindFusion.Scheduling
File: Item.js
Syntax
JavaScript
Copy Code
|
---|
get reminder() {}
|
Property Value
Example
The following code creates a new Item and adds a Reminder to it:
JavaScript
Copy Code
|
---|
var p = MindFusion.Scheduling;
var item = new p.Item(); item.startTime = p.DateTime.addMinutes(date, 2); item.endTime = p.DateTime.addHours(item.startTime, 2); item.subject = "GYM"; var reminder = new p.Reminder(); reminder.message = "Speaking of the " + item.subject + ", go!!"; reminder.type = p.ReminderType.Leading; reminder.timeInterval = p.TimeSpan.fromMinutes(1); item.reminder = reminder; |
See Also