Skip to content

Commit 21be31a

Browse files
committed
Added optional hourStep and secondStep attributes to time and datetime directives.
1 parent 3f0de9c commit 21be31a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/datetime-input.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ directive('datetimeInput', ['$document', '$timeout', function ($document, $timeo
1212
format: '=?',
1313
minDate:'=?',
1414
maxDate:'=?',
15+
hourStep:'=?',
1516
minuteStep:'=?',
17+
secondStep:'=?',
1618
onChange: '&',
1719
placeholder: '@',
1820
cssClass:'@',

src/time-input.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ directive('timeInput', ['$document', '$timeout', function ($document, $timeout)
1212
format: '=?',
1313
minDate:'=?',
1414
maxDate:'=?',
15+
hourStep : '=?',
1516
minuteStep : '=?',
17+
secondStep : '=?',
1618
onChange: '&',
1719
placeholder: '@',
1820
cssClass:'@',

0 commit comments

Comments
 (0)