mat-timepicker-hi

mat-timepicker-hi is an easy library with timepicker. Fully wrote with TypeScript. This library is based on Angular Material.


License
MIT
Install
npm install mat-timepicker-hi@0.1.1

Documentation

mat-timepicker-hi is an easy library with timepicker. Fully wrote with TypeScript. This library is based on Angular Material.

Screenshot_1

Getting started

npm install --save mat-timepicker-hi

Setup

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { MatTimepickerModule, } from 'mat-timepicker'
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MatTimepickerModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Using the component

<mat-timepicker [(time)]="initTime"></mat-timepicker>
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {

  initTime = '11:57';
  
}

License

MIT

Author

Hasan Ibishi