Clears the current filter.
Disables the filter. I.e., prevents it from filtering results.
Enables the filter. I.e., undoes the effects of disable
.
Updates the selected range.
You can use the buildDateRange
utility method in order to format the range values correctly.
The date range.
Whether the range is valid.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The
DateFilter
controller makes it possible to create a date filter.Example: date-filter.fn.tsx