Skip to main content
Knowledge mapcalendar: How do you express scheduled events?ArcBlock

You are here. See how this question connects to other ideas.

Select a node to open its page · Expand to read within the map

Knowledge mapFollow a connection. Understand a question.
← AFS and interfaces

One question

calendar: How do you express scheduled events?

calendar organizes events into month, week, day or agenda views.

A workshop schedule can show dates and sessions together. Navigating to another month changes the view, not the meeting times. Editing and persistence require separate target-specific verification.

Start with these properties

mode selects a month, week, day or agenda view. props.events is an array of schedule entries: date supplies the date and label the name. These events are calendar data, unlike node-level events that connect interactions to handlers. locale affects month and weekday names.

Read a structural example

From the source registry. This is structural reading material, not a live demo; referenced resources and actions require an application.

json
{
  "id": "schedule",
  "type": "calendar",
  "props": {
    "mode": "month",
    "events": [
      {
        "date": "2024-03-15",
        "label": "Team standup",
        "intent": "info"
      },
      {
        "date": "2024-03-20",
        "label": "Release v2.0",
        "intent": "success"
      }
    ]
  }
}

The dates are source examples, not this conference’s schedule. intent gives an entry information or success presentation semantics; it neither changes the date nor establishes that an event has finished. Rescheduling requires an operation on the schedule resource.

Read the calendar reference.

Check your understanding

Does moving from May to June edit scheduled events?

It changes the viewed period; editing events requires a separate explicit operation.