You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VObject allows you to easily manipulate iCalendar objects using JavaScript. Implements [rfc5545](http://tools.ietf.org/html/rfc5545).
5
+
6
+
Installation
7
+
---
8
+
9
+
Example
10
+
---
11
+
12
+
### Create a Calendar
13
+
14
+
> The top-level element in iCalendar is the Calendaring and Scheduling Core Object, a collection of calendar and scheduling information. Typically, this information will consist of a single iCalendar object.
15
+
16
+
17
+
```js
18
+
var calendar =VObject.calendar();
19
+
```
20
+
21
+
> The body of the iCalendar object (the icalbody) is made up of a list of calendar properties and one or more calendar components.
22
+
23
+
### Create a Event
24
+
25
+
```js
26
+
varevent=VObject.event();
27
+
event.setSummary('Hello World!');
28
+
```
29
+
30
+
Then, add the event to that calendar (events need to be added to a calendar to be a proper iCal object):
0 commit comments