Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

azatprog/simple-angular-material-timepicker

Repository files navigation

Timepicker

Simple lightwieght timepicker for Angular Material 7.2+

Prerequisites

  1. Angular 7.2+
  2. Angular Material 7.3+

Demo

https://azatprog.dev/demos/timepicker

npm

https://www.npmjs.com/package/ngmat-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

About

Simple lightweight timepicker for Angular Material (v7+) projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.