0.0.1 • Published 5 years ago

ngx-time-input v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
5 years ago

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

  1. Install the package using npm or yarn

    npm install ngx-time-input OR yarn add ngx-time-input

  2. Import TimeInputModule in your app.module.ts

    import { TimeInputModule } from ngx-time-input

  3. Add TimeInputModule to the imports array in your AppModule

  4. Use as: <ngx-time-input (onTimeChange)="timeChanged($event)"></ngx-time-input>

TODO

  1. Configuration Options
  2. Usage within a form.
  3. Unit Tests