widget:datetimepicker

Description

The Header Search directive

Usage

as element:
<widget:datetimepicker
       ng-model="{Object}"
       [on-set-time="{Object}"]
       [datepicker-config="{Object}"]>
</widget:datetimepicker>

Parameters

Param Type Details
ngModel Object

Scope variable to update

onSetTime
(optional)
Object

Function to call when the date/time has been selected

datepickerConfig
(optional)
Object

Config for datepicker. {minView: 'year/month/day/hour'}

Example

Source