Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add alarm to events

ChrisRM edited this page · 1 revision

Add an alarm to your events.

Example

Ti.Calendar.addEvent({
    title: "Title",
    startDate: new Date(),
    endDate: endDate,
    location: "At home",
    note: "A note",
    recurrence: { 
        frequency: "day", // day, week, month, year
        interval: 2,
        end: recurringEnd2 
    },
    alarm: {
        offset: -900 // 900 seconds = 15 minutes
    }
});

This is for EventKit only.

Something went wrong with that request. Please try again.