valor-software/ng2-bootstrap

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

Summary

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

<button type="button" class="btn btn-info section bd-example" (click)="allowMouseWheel = !allowMouseWheel">Enable / Disable mouse wheel</button>

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