Constructor
new GatheringsCalendarController()
Methods
attachQuickViewCloseHandler()
- Description:
Bootstrap close button in modal header does not delegate to frame-loaded markup.
- Source:
connect()
- Description:
Connect event - setup Bootstrap modal
- Source:
disconnect()
- Description:
Disconnect event - cleanup
- Source:
getCsrfToken() → {string}
- Description:
Get CSRF token from meta tag or form
- Source:
Returns:
CSRF token
- Type
- string
initialize()
- Description:
Initialize the calendar controller
- Source:
(async) markAttendance(event)
- Description:
Mark attendance for a gathering from quick view
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event | Click event |
scrollTodayIntoView()
- Description:
Reveal today's marker without moving keyboard focus away from the toolbar.
- Source:
(async) showAttendanceModal(event)
- Description:
Show attendance modal for marking or editing attendance Loads modal content dynamically from server to get full form UI
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event | Click event |
showLocation(event)
- Description:
Show location map for a gathering
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event | Click event |
showQuickView(event)
- Description:
Show quick view modal for a gathering
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event | Click event |
showToast(title, message, type)
- Description:
Show toast notification
- Source:
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
title |
string | Toast title |
|
message |
string | Toast message |
|
type |
string |
info
|
Bootstrap color type (success, danger, warning, info) |
(async) toggleAttendance(event)
- Description:
Toggle attendance for a gathering (legacy method for list view)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event | Click event |
(async) updateAttendance(event)
- Description:
Update attendance for a gathering from quick view
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event | Click event |
updateFeedUrl()
- Description:
Rebuild the subscribe feed URL from current browser URL filter params
- Source:
updateViewMode()
- Description:
Keep the static toolbar aligned with the successfully rendered frame.
- Source: