-
Default picker
let datepicker = new Now({ input: document.getElementById('...') });
-
Single date picker
let datepicker = new Now({ input: document.getElementById('...'), singleDate: true });
-
Simple inline picker
let datepicker = new Now({ container: document.getElementById('...'), inline: true });
-
Double picker demo
let datepicker = new Now({ container: document.getElementById('...'), inline: true, double: true });
-
Picker with labels demo
let datepicker = new Now({ container: document.getElementById('...'), inline: true, labelTo: 'check-out', labelFrom: 'check-in' });