isAllDay Boolean (default: false)

If set to true the event is "all day". By default events are not all day.

Important: When isAllDay is set to true the start and end fields must be set to the same date.

Example - create all day event

var event = new{
    id: 1,
    title: "Birthday",
    start: new Date("2013/4/4 00:00"),
    end: new Date("2013/4/4 00:00"),
    isAllDay: true
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(event.isAllDay); // outputs "true"
In this article