{"repo":"benitolopez/hotel-datepicker","free":true,"listed":false,"github":"https://github.com/benitolopez/hotel-datepicker","clone":"git clone https://github.com/benitolopez/hotel-datepicker.git","description":"Date range picker for hotels","language":"JavaScript","stars":325,"topics":["hotel-datepicker","range-picker","datepicker","calendar","javascript"],"license":"MIT","category":"productivity","readme_excerpt":"Hotel Datepicker The Hotel Datepicker is a responsive JavaScript date range picker for hotels. It supports modern browsers and it requires Fecha 4.0.0 (or above). View the demo here. Installation As a module: Install with: Then import the modules with: As a script: Download Fecha. [BREAK CHANGE] Use Fecha 4.0.0 or above. Include files: Usage Initialize with vanilla JS. Options className - Type: String - Default: datepicker The CSS selector of the datepicker. format - Type: String - Default: YYYY-MM-DD The date format string. infoFormat - Type: String - Default: YYYY-MM-DD The date format string in the info box. If not set, it uses the format option. ariaDayFormat - Type: String - Default: dddd, MMMM DD, YYYY The date format string in the aria label strings. separator - Type: String - Default: - The separator string used between date strings. startOfWeek - Type: String - Default: sunday Default start week: sunday or monday . startDate - Type: Date or String - Default: new Date() The earliest selectable date. All the dates before this date will be disabled, and the calendar cannot navigate before its month. To open the calendar on a later month without disabling earlier dates, use defaultViewDate instead. endDate - Type: Date or String or Boolean - Default: false The end view date. All the dates after this date will be disabled. defaultViewDate - Type: Date or String - Default: false The month the calendar initially opens on. Unlike startDate , this does not disable earlier dat","default_branch":null,"files":null,"tree":[],"storefront":"/r/benitolopez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/benitolopez/hotel-datepicker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}