Skip to content

yeojz/rangepicker-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rangepicker for jQuery UI

About

Rangepicker is a wrapper/extension to provide for range selection within jQuery UI's datepicker.

Usage

To initialise:

$("#elem").rangepicker();

Options

$("#elem").rangepicker({
	datepicker: {
		numberOfMonths: [3,4],
  	},
	periodToggle: [false, false]
});

Accessing dates

All dates are kept within the singleton class of $.rangepicker.

To access the collection of dates across the page:

$.rangepicker.getCollection("elem");

where elem is the id of the element

Screenshot

Screenshot

Acknowledgements

Calendar Icon: "Icon made by Freepik from Flaticon.com"

About

Rangepicker extension for jQuery UI Datepicker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published