Entry
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
interface Entry { title: string, start: Date, end: Date, allDay?: boolean, location?: string, url?: string, notes?: string, recurrence?: EntryRecurrence}
An event entry to add to the calendar.
Variables
Section titled “Variables”Variable | Type | Description |
---|---|---|
title | string | The title of the event. |
start | JavaScript Date object | The start time of the event. |
end | JavaScript Date object | The end time of the event. |
allDay | optional, boolean | If true the event will be marked as lasting the entire day. |
location | optional, string | The location of the event. |
url | optional, string | Any URL you want to attach. |
notes | optional, string | Any notes you want added to the event. |
recurrence | optional, EntryRecurrence | Details of the event’s reoccurrence. |
Example
Section titled “Example”Z.calendar.add({ title: "Zappar's 10-year Anniversary Party", start: new Date(2021, 3, 1, 19, 0, 0), end: new Date(2021, 3, 2, 2, 0, 0), location: "London", notes: "BYOB"});