ngx-time-input
v0.0.1
Published
A simple angular input component to help users type time. It can parse most commonly used time formats to let your users type the time in any manner they want.
Downloads
14
Readme
ngx-time-input
A simple angular input component to help users type time. It can parse most commonly used time formats to let your users type the time in any manner they want.
Usage
Install the package using
npm
oryarn
npm install ngx-time-input
ORyarn add ngx-time-input
Import
TimeInputModule
in yourapp.module.ts
import { TimeInputModule } from ngx-time-input
Add
TimeInputModule
to theimports
array in your AppModuleUse as:
<ngx-time-input (onTimeChange)="timeChanged($event)"></ngx-time-input>
TODO
- Configuration Options
- Usage within a form.
- Unit Tests