valor-software/ng2-bootstrap

View on GitHub
demo/src/app/components/+timepicker/demos/arrowkeys/arrowkeys.html

Summary

Maintainability
Test Coverage
<timepicker [(ngModel)]="myTime" [arrowkeys]="allowArrowKeys"></timepicker>
<hr>

<button type="button" class="btn btn-info section bd-example" (click)="allowArrowKeys = !allowArrowKeys">Enable / Disable arrow keys</button>

<pre class="alert alert-info">Time is: {{myTime}}</pre>