Skip to content

Commit

Permalink
Update the elements
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymouse committed Dec 1, 2017
1 parent ddf6db0 commit b6f6b24
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ Example usage:
<mat-form-field class="example-full-width">
<input mat-timepicker matInput placeholder="Click to get the time" value="0:0">
</mat-form-field>
```
```

Online demo

https://owsolutions.github.io/angular-material-clock-time-picker/
20 changes: 19 additions & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<h1>Angular Material 5 Time Picker</h1>

This is a lightweight time picker for angular material 5, with a clock shape, based on material dialog.

<mat-form-field class="example-full-width">
<input mat-timepicker matInput placeholder="Click to get the time" value="0:0">
</mat-form-field>



<h2>Installing</h2>
Install this dependecy for your existing angualar project:

<pre>
npm install angular-material-clock-time-picker --save
</pre>

and then import it into your <b>app.module.ts</b>

import { MatTimePickerModule } from 'angular-material-clock-time-picker';

and add it into your imports section.

0 comments on commit b6f6b24

Please sign in to comment.