Calendar UI component designed for use as a date-picker, full-sized calendar or anything in-between.

$ component install component/calendar
var Calendar = require('calendar');
var cal = new Calendar;
cal.el.appendTo('body');
prev when the prev link is clickednext when the next link is clickedchange (date) when the selected date is modifiedInitialize a new Calendar with the given date shown,
defaulting to now.
Select the given date (Date object).
Show the given date. This does not select the given date,
it simply ensures that it is visible in the current view.
Show the previous view (month).
Show the next view (month).
MIT