# fullCalendar

Implementation of [www.fullcalendar.io](https://fullcalendar.io/) calendaring component.

Component based on <https://github.com/CroudTech/vue-fullcalendar>

## Runtime Shape

The live component:

* reads events from the field `model`
* passes those events into the calendar as the field value
* merges `schema.config` over a default config where `defaultView` starts as `month`

## Common Schema Keys

| Key      | Type     | Description                                                        |
| -------- | -------- | ------------------------------------------------------------------ |
| `type`   | `string` | Must be `fullCalendar`                                             |
| `model`  | `string` | Model path containing the calendar event array                     |
| `config` | `object` | Calendar configuration object passed into the underlying component |

Example:

```json
{
  "type": "fullCalendar",
  "model": "events",
  "config": {
    "defaultView": "month",
    "editable": true
  }
}
```

## Callback Keys

The current implementation wires these schema callback functions:

* `eventSelected(...args)`
* `eventDrop(...args)`
* `eventResize(...args)`
* `eventCreated(...args)`
* `eventRender(...args)`
* `eventMouseover(...args)`
* `eventMouseout(...args)`
* `dayClick(...args)`

These are JavaScript callback functions on the field schema, not `*_actions` arrays.

## Notes

* If you do not provide `config.defaultView`, the component defaults to `month`.
* The component passes the full field schema through to the underlying calendar component with `v-bind=\"schema\"`.
* The published docs previously referenced `*_actions` keys, but the live component code currently uses direct schema callback functions instead.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.klai.studio/reference/components-overview/misc-elements/fullcalendar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
