Download the PHP package webcito/jquery-bs-calendar without Composer
On this page you can find all versions of the php package webcito/jquery-bs-calendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package jquery-bs-calendar
jquery-bs-calendar
The event calendar was created with JQuery and Boostrap 5. It does not need any additional CSS file.
The calendar can be included in all Boostrap elements (.card, .navbar, .offcanvas, .dropdowns, ...).
options
prop | type | default | description |
---|---|---|---|
locale | string |
'en' |
Sets the language of days and months |
url | null |string | function |
null |
When a function is implemented, an array of event objects is expected. A string represents the path to the server. If the value remains at zero , no appointments will be loaded. |
queryParams | function |
see example below | Additional parameters can be sent to the server here. From and To are always sent. |
width | string |
'310px' |
Sets the width of the container. All subelements are calculated from the width of the container. |
icons | object |
see example below | Here you can change the icon classes. Bootstrap icons are set as default. |
showTodayHeader | boolean |
true |
Show or hide the header of the calendar, which contains information about today. |
eventListContainer | null |string |
null |
If a selector is specified here, the appointment list will be transferred to this selector. |
classes | object |
see example below | Here you can set your own CSS classes for the elements in the calendar to stylishly adapt your container to your page. The calendar is built with a table and can therefore easily inherit the themes from Bootstrap. |
event | object |
see example below | The object event expects 2 properties. Firstly the function formatted(event){} which expects a string as return and secondly the event handler list as object[] |
popoverConfig | object |null |
see example below | The popover configuration can be set here, more at https://getbootstrap.com/docs/5.3/components/popovers/#options. If the value is null , no popover will be initialized. |
formatPopoverContent | function |
see example below | The content of the popover can be formatted here. The condition for this is that the showPopover attribute is set to true. |
formatNoEvent | function |
see example below | The display when there are no appointments on the selected date. |
full options example
the event object
The event object must have a start and an end attribute
set defaults
This function can be used to define default values, such as the language before initialization.
methods
methodName | Params | Description |
---|---|---|
refresh | - | Reloads the dates |
updateOptions | (object) {new:options} | Updates the options of the calendar |
setDate | (string) '2024-12-24' | Switches the calendar to the month given in the date. |
events
eventName | params | Description |
---|---|---|
init | - | Fires when the calendar is fully initialized |
change-day | date, events | Fires when a date was clicked manually |
events-loaded | events | Fires when the data has been loaded from the server |
show-event-list | events | Fires before building the appointment list |
shown-event-list | events | Fires when the appointment list has been created and displayed |
click-current-month | - | Fires when the button for the current month is pressed |
click-prev-month | - | Fires when the button for the previous month is pressed |
click-next-month | - | Fires when the button for the next month has been pressed |
change-month | - | Fires when the month is changed |
Satisfied customers of the plugin
Schulz von Thun Institut für Kommunikation |
|
Perspekto Coaching GmbH Institut für berufliche Entwicklung |
|
Uniquo Coaching | |
webcito UG |
All versions of jquery-bs-calendar with dependencies
PHP Build Version
Package Version
Requires
components/jquery Version
3.6.0
twbs/bootstrap Version ~v5.3.3
twbs/bootstrap-icons Version ~v1.11.3
twbs/bootstrap Version ~v5.3.3
twbs/bootstrap-icons Version ~v1.11.3
The package webcito/jquery-bs-calendar contains the following files
Loading the files please wait ....