A minimalist and hackable calendar in pure Javascript.
dist
folder contains different versions. Pick the one you need!
Including RainCalendar.min.js
allows you to access RainCalendar as a standard javascript object.
Example:
RainCalendar('#calendar', {
startDate: new Date()
});
Including RainCalendar.jquery.min.js
makes a jQuery plugin named rainCalendar
available.
Example:
$('#calendar').rainCalendar({
startDate: new Date()
});
Including RainCalendar.AMD.min.js
makes an AMD module available.
Example:
require(["path/your/lib/RainCalendar-AMD.min"], function(calendar) {
calendar('#calendar', {
startDate: new Date()
});
});
Including RainCalendar.AMD-named.min.js
allows the usage as AMD module with fixed name "RainCalendar".
Example:
require(["RainCalendar"], function(calendar) {
calendar('#calendar', {
startDate: new Date()
});
});