2.3.4 • Published 8 years ago

rb-calendar v2.3.4

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

This library is to be used for creating calendar widgets. This has a dependency on momentjs and jquery. The dependency on jquery will be removed in sometime. This calendar module is currently being used in http://www.redBus.in

Download:-

npm install rb-calendar

Example :-

var Calendar = require('rb-calendar');

var domCalendar = Calendar(); //this is generate a calendar from todays date and show 2 months at a time domCalendar.init(id_of_dom_elem_bound_to_calendar,{ months : 2//specifies no of months },function(date){//callback //do something with selected date });

//this will generate a datepicker for date of birth selection and calendar's end date will be today's date domCalendar.init(id_of_dom_elem_bound_to_calendar,{ showYearAndMonthMenu : true//specifies if month and year selection is to be enabled endsLessThanNow : 2 //specifies number of years to remove from endDate from today's date default 0 //today's date 9th November.2015 , then endDate will be 9th November , 2013 },function(date){//callback //do something with selected date });

2.3.4

8 years ago

2.3.3

8 years ago

2.3.2

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.11.0

8 years ago

1.10.0

8 years ago

1.9.0

9 years ago

1.8.0

9 years ago

1.7.0

9 years ago

1.6.0

9 years ago

1.5.0

9 years ago

1.4.0

9 years ago

1.3.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago