Skip to content

Commit 3079e2d

Browse files
authored
Added npm install procedure and images to REAME.
1 parent 7b499f4 commit 3079e2d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Converted into an angular directive for your convenience :)
99
## Demo
1010
Click <a href="https://rawgit.com/g1eb/angular-datetime-input/master/" target="_blank">here</a> for a live demo.
1111

12+
### Date input
13+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-input/master/images/date.png" alt="Angular directive datetime input - date input" width="300px">](https://rawgit.com/g1eb/angular-datetime-input/master/)
14+
15+
### Time input
16+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-input/master/images/time.png" alt="Angular directive datetime input - time input" width="300px">](https://rawgit.com/g1eb/angular-datetime-input/master/)
17+
18+
### Datetime input
19+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-input/master/images/datetime.png" alt="Angular directive datetime input - datetime input" width="300px">](https://rawgit.com/g1eb/angular-datetime-input/master/)
20+
1221
## Installation
1322

1423
1) Install 'angular-datetime-input' with bower
@@ -17,6 +26,12 @@ Click <a href="https://rawgit.com/g1eb/angular-datetime-input/master/" target="_
1726
bower install angular-datetime-input
1827
```
1928

29+
Or:
30+
31+
```
32+
npm install angular-datetime-inputs
33+
```
34+
2035
2) Add 'g1b.datetime-input' module to your app config
2136

2237

@@ -36,7 +51,7 @@ For date input only
3651

3752
For time input only
3853
```html
39-
<time-input time="time" on-change="print(time)" placeholder="Select time"></date-input>
54+
<time-input time="time" on-change="print(time)" placeholder="Select time"></time-input>
4055
```
4156

4257
For both date and time input

0 commit comments

Comments
 (0)