Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 822 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 822 Bytes

Datashop Date-range Directive.

Usage:
This directive will appear as a HTML element with the following Attributes:
Example:
  <range-handler clock="12" mode="range" callback="dpcb" default-start-date="" default-end-date="" format="MMM dd, yyyy" timerange="timerange" timepicker="true"></range-handler>
Attributes:
1. mode - single or range.
2. callback - callback to be called on date submitDate.
3. format - format in which the date is to be displayed and returned.
4. default-start-date - if mode is range.
5. default-end-date - if mode is range.
6. timepicker - true if needed/ default is false.
7. clock - 12/24 hour time selection, if timepicker is set to true, default is 24.
8. default-date - if mode is single.

Working Demo