Skip to content

LucaRainone/RainCalendar

Repository files navigation

RainCalendar

Build Status Coverage Status

A minimalist and hackable calendar in pure Javascript.

dist folder contains different versions. Pick the one you need!

Available versions (targets):

Standard javascript function

Including RainCalendar.min.js allows you to access RainCalendar as a standard javascript object.

Example:

RainCalendar('#calendar', {
   startDate: new Date()
});

jQuery plugin

Including RainCalendar.jquery.min.js makes a jQuery plugin named rainCalendar available.

Example:

$('#calendar').rainCalendar({
  startDate: new Date()
});

AMD module

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()
 });
});

Named AMD module

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()
 });
});

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published