Class zebkit.ui.date.DateRangeInput
mixed with <zebkit.ui.date.PopupCalendarMix>
extends <zebkit.ui.Panel>
<zebkit.ui.date>

Input field to enter a date range.

Constructor:
zebkit.ui.date.DateRangeInput ( )




public <Object> getValue ( )

Get current date range.


Returns: <Object>

a date range object:

{
    min : {Date},
    max : {Date}
 }
public void setValue (d1, d2)

Set the given date range.


Parameters:
  • d1 <Date>

    a minimal possible date

  • d2 <Date>

    a maximal possible date


dateRangeSelected

Fire when a new date range has been selected.

  dateRangeInput.on("dateRangeSelected", function(src, prevRange) {
      ...
  });

Parameters: