@htmlbricks/hb-calendar-events
Version:
Classic month grid (7-day week header and variable rows) with selectable cells, “today” styling, and event chips inside each day. Supports adjacent-month padding cells, Italian holidays, JSON `events`, and the same navigation/selection events as the appoi
56 lines (55 loc) • 1.26 kB
JSON
{
"$ref": "#/definitions/Events",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Events": {
"additionalProperties": false,
"properties": {
"calendarEventClick": {
"additionalProperties": false,
"properties": {
"eventId": {
"type": "string"
}
},
"required": [
"eventId"
],
"type": "object"
},
"changeCalendarDate": {
"additionalProperties": false,
"properties": {
"date": {
"format": "date-time",
"type": "string"
}
},
"required": [
"date"
],
"type": "object"
},
"changeSelectedDate": {
"additionalProperties": false,
"properties": {
"selectedDate": {
"format": "date-time",
"type": "string"
}
},
"required": [
"selectedDate"
],
"type": "object"
}
},
"required": [
"calendarEventClick",
"changeCalendarDate",
"changeSelectedDate"
],
"type": "object"
}
}
}