Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

docs(timepicker): add note about updating model #5278

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/timepicker/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A lightweight & configurable timepicker directive.
<i class="glyphicon glyphicon-eye-open"></i>
_(Default: `1`)_ -
Number of hours to increase or decrease when using a button.

* `max`
<small class="badge">$</small>
<i class="glyphicon glyphicon-eye-open"></i>
Expand All @@ -39,7 +39,7 @@ A lightweight & configurable timepicker directive.
<i class="glyphicon glyphicon-eye-open"></i>
_(Default: `1`)_ -
Number of minutes to increase or decrease when using a button.

* `mousewheel`
<small class="badge">$</small>
<small class="badge">C</small>
Expand Down Expand Up @@ -98,3 +98,7 @@ A lightweight & configurable timepicker directive.
<small class="badge">C</small>
_(Defaults: `uib/template/timepicker/timepicker.html`)_ -
Add the ability to override the template used on the component.

**Notes**

If the model value is updated (i.e. via `Date.prototype.setDate`), you must update the model value by breaking the reference by `modelValue = new Date(modelValue)` in order to have the timepicker update.