Maslosoft Binder Logo Maslosoft Binder Documentation
Knockout JS tracker and binding handlers with coffee and sugar

Date Picker - Pick A Date

Experimental date picker based on pick a date. This demo will most probably not work at all...

Not recommended, use datePicker instead


Set a bit to past Set date to now Set a bit to future

Relevant code used in examples:

<div class="input-group col-md-4 col-sm-6">
	<input data-bind="datePickerPickaDate: binder.model.datePicker.date" type="text" class="form-control"/>
</div>
<div data-bind="text: binder.model.datePicker.date">

</div>
<script>
	window.onload = (function(){­
		binder.model.datePicker = new Maslosoft.Koe.DatePicker;
		ko.applyBindings({­model: binder.model­}, document.getElementById('ko-binder'));
	­});
</script>