ngmat-timepicker
v1.0.3
Published
Simple lightwieght timepicker for Angular Material 7.2+
Downloads
6
Maintainers
Readme
Timepicker
Simple lightwieght timepicker for Angular Material 7.2+
Prerequisites
- Angular 7.2+
- Angular Material 7.3+
Demo
https://azatprog.dev/demos/timepicker
Git Repo
https://github.com/azatprog/simple-angular-material-timepicker
Getting started
Install timepicker through npm:
npm install --save ngmat-timepicker
Next import the timepicker module into your app's module:
import { NgModule } from '@angular/core';
import { TimepickerModule } from 'ngmat-timepicker';
@NgModule({
imports: [TimepickerModule]
})
export class AppModule {}
Finally connect the timepicker to an input via a template property:
<ngmat-timepicker [(time)]="myTime"></ngmat-timepicker>
In your component.ts
export class AppComponent {
myTime='14:30';
}
License
MIT