jCalendar.js
2.11.0
See the version list below for details.
dotnet add package jCalendar.js --version 2.11.0
NuGet\Install-Package jCalendar.js -Version 2.11.0
<PackageReference Include="jCalendar.js" Version="2.11.0" />
paket add jCalendar.js --version 2.11.0
#r "nuget: jCalendar.js, 2.11.0"
// Install jCalendar.js as a Cake Addin #addin nuget:?package=jCalendar.js&version=2.11.0 // Install jCalendar.js as a Cake Tool #tool nuget:?package=jCalendar.js&version=2.11.0
Calendar.js v2.11.0
📅 One of the world's easiest, most powerful, and fully responsive JavaScript Calendars!
What features does Calendar.js have?
- Zero-dependencies!
- Exportable for use in other frameworks!
- 51 language translations available!
- Adding, updating, and removing events, with full custom colors support.
- Full API available via public functions.
- Drag and Drop for events, even across multiple Calendars!
- Drag and Drop for moving events to new times, and resizing to adjust event durations (in Full Day/Week views).
- Cut, Copy, Paste (with multi-select support), and Duplication of events.
- Configurable text for translations (see "dist/translations" for languages already available).
- Day, Week, Month, Year, All Events, and Timeline views.
- Fully styled in CSS/SASS (including the buttons) and compatible with the Bootstrap library.
- Full CSS theme support (using :root variables, with dark-mode support).
- Custom triggers for actions (adding/updating/removing events, skipping months, etc.).
- Export events to CSV, XML, JSON, TEXT, iCAL, MD, HTML, and TSV, with system clipboard setting support.
- Import events from iCAL and JSON files.
- Full-screen mode (double-clicking the title bar).
- Search support (with search history).
- Repeat every Day, Week, Month, Year, or a custom period (with exclusion days support), with editing forward, and series support.
- Customizable holidays.
- Shortcut keys (click here to see the full list).
- Custom event groups (with configurable toggles via the side menu).
- Browser notifications for events, with offset support (modern browsers only).
- Drop file support (allowing a file containing JSON, or an array of events, to be added).
- DatePicker mode (just assign to the ID of a text input).
- HTML text support (off by default).
- jQuery plugin for quickly creating Calendars.
- Data-Binding support to quickly create new Calendars without writing Javascript!
- Popup notifications for actions (adding/updating/deleting events, updating configuration, etc.).
- Start of week support (Monday, Saturday, or Sunday).
- Local storage support for events!
- Widget mode (small widget that shows the current/specific day).
Where can I find the documentation?
All the documentation can be found here.
What browsers are supported?
All modern browsers (such as Google Chrome, FireFox, and Opera) are fully supported.
What languages are supported?
af
Afrikaansar
Arabichy
Armenianbe
Belarusianbn
Bengalibg
Bulgarianca
Catalanzh
Chinese (simplified)da
Danishnl
Dutchen
English (default)eo
Esperantoet
Estonianfa
Farsifi
Finnishfr
Frenchfy
Frisiangl
Galicianka
Georgiande
Germanel
Greekhe
Hebrewhi
Hindihu
Hungarianis
Icelandicid
Indonesianga
Irishit
Italianja
Japaneseko
Koreanlv
Latvianlt
Lithuanianlb
Luxembourgishms
Malayne
Nepalino
Norwegianpl
Polishpt
Portuguesero
Romaniansi
Sinhalesesk
Slovaksl
Slovenianes
Spanishsv
Swedishtl
Tagalogta
Tamilzh-tw
Taiwanesete
Teluguth
Thaitr
Turkishuk
Ukrainian
What are the most recent changes?
To see a list of all the most recent changes, click here.
How do I install Calendar.js?
You can install the library with npm into your local modules directory using the following command:
npm install jcalendar.js
Or, you can download the latest zipped up version here.
How do I get started?
To get started using Calendar.js, do the following steps:
1. Prerequisites:
Make sure you include the "DOCTYPE html" tag at the top of your email, as follows:
<!DOCTYPE html>
2. Include Files:
<link rel="stylesheet" href="dist/calendar.js.css">
<script src="dist/calendar.js"></script>
3. Create DOM Container:
<div id="calendar"></div>
4. Initialize Calendar.Js:
<script>
var calendarInstance1 = new calendarJs( "calendar", {
manualEditingEnabled: true
// All your options can be set here
} );
// OR
var calendarElement = document.getElementById( "calendar" );
var calendarInstance2 = new calendarJs( calendarElement, {
manualEditingEnabled: true
// All your options can be set here
} );
</script>
You can also create new Calendars using the jQuery Plugin, or by using Data Bindings. See the test HTML files for examples.
5. Finishing Up:
That's it! Nice and simple. Please refer to the code if you need more help (fully documented).
How do I go about customizing Calendar.js and add events?
To customize, and get more out of Calendar.js, please read through the following documentation.
1. Options:
Options (which can be set when initializing, or afterwards) allow you to customize how Calendar.js will look and function. The options are also used to set the custom triggers you want to fire when specific actions occur. You can set them manually as follows:
<script>
calendarInstance.setOptions( {
manualEditingEnabled: false,
views: {
fullMonth: {
maximumEventsPerDayDisplay: 0
}
},
visibleDays: [ 0, 1, 2, 3, 4 ]
} );
</script>
To see a list of all the available options you can use, click here.
To see a list of all the available custom triggers you can use, click here.
2. Event Object Format:
An event is defined as a JavaScript object, as follows:
<script>
var event = {
from: new Date(),
to: new Date(),
title: "A New Event",
description: "A description of the event"
};
</script>
You can add a new event by using one of the add public functions, as follows:
<script>
calendarInstance.addEvent( event );
</script>
To see a list of all the available event properties and how they should be formatted, click here.
3. Holiday Object Format:
A holiday is a piece of text that is shown under the day number in the month it is assigned to. You can set these holidays in the options, or add them manually as follows:
<script>
var holiday = {
day: today.getDate(),
month: today.getMonth() + 1,
title: "A New Holiday",
};
// This is a public function that you can call
calendarInstance.addHolidays( [ holiday ] );
</script>
To see a list of all the available holiday properties and how they should be formatted, click here.
4. Public Functions:
To see a list of all the public functions available, click here.
5. Search Options:
Search Options allow you to customize how Calendar.js Search dialog will function. You can set them manually as follows:
<script>
calendarInstance.setSearchOptions( {
matchCase: false
} );
</script>
To see a list of all the available search options you can use, click here.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.12.1 | 101 | 10/17/2024 |
2.12.0 | 135 | 6/5/2024 |
2.11.0 | 104 | 6/3/2024 |
2.10.19 | 101 | 5/31/2024 |
2.10.18 | 122 | 5/30/2024 |
2.10.17 | 111 | 5/29/2024 |
2.10.16 | 114 | 5/28/2024 |
2.10.15 | 114 | 4/17/2024 |
2.10.14 | 176 | 3/20/2024 |
2.10.13 | 121 | 2/27/2024 |
2.10.12 | 157 | 2/15/2024 |
2.10.11 | 147 | 2/13/2024 |
2.10.10 | 161 | 2/11/2024 |
2.10.9 | 181 | 2/7/2024 |
2.10.8 | 167 | 2/3/2024 |
2.10.7 | 135 | 2/2/2024 |
2.10.6 | 163 | 1/25/2024 |
2.10.5 | 114 | 1/21/2024 |
2.10.4 | 111 | 1/19/2024 |
2.10.3 | 141 | 1/17/2024 |
2.10.2 | 150 | 12/29/2023 |
2.10.1 | 191 | 11/27/2023 |
2.10.0 | 136 | 11/24/2023 |
2.9.10 | 119 | 11/8/2023 |
2.9.9 | 154 | 11/6/2023 |