Date Picker
The date picker ships with five built-in variations for rendering the UI. The controls option supports the following:
date- renders a date-only scroller or dropdown controltime- renders a time-only scroller or dropdown controltimegrid- renders a time grid for time selectiondatetime- renders a date & time scroller or dropdowncalendar- renders a calendar view for date picking
When passing controls: ['calendar'], the date picker will render a monthly calendar for selecting a date.
Interested in dynamically switching between modes? Learn how to set up responsive behavior →
Demo
$('#picker').mobiscroll().datepicker({
controls: ['calendar']
});
JSHTML
mobiscroll.setOptions({
locale: ,
theme: ' ',
themeVariant: ' '
});
$(function () {
$('#demo')
.mobiscroll()
.datepicker({
controls: ['calendar'],
display: 'inline',
});
});
<div id="demo"></div>