Search
Reminder Class
See Also
 






Represents reminders associated with schedule Item-s.

Namespace: MindFusion.Scheduling
File: Reminder.js

 Syntax

JavaScript  Copy Code

// class
Reminder.prototype = {}

 Example

The following code creates a schedule item with a reminder:

JavaScript  Copy Code

var p = MindFusion.Scheduling;
// add an item with reminder
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;

 Inheritance Hierarchy

MindFusion.Scheduling.Reminder

 See Also