Skip to content

Commit 50cc1b7

Browse files
authored
Update README.md
1 parent 69d1c5a commit 50cc1b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ angular.module('myApp', [
4444

4545
3) Use any of the directives in a view
4646

47-
For date input only
47+
For date input only:
4848
```html
4949
<date-input date="date" on-change="print(date)" placeholder="Select date"></date-input>
5050
```
5151

52-
For time input only
52+
For time input only:
5353
```html
5454
<time-input time="time" on-change="print(time)" placeholder="Select time"></time-input>
5555
```
5656

57-
For both date and time input
57+
For both date and time input:
5858
```html
5959
<datetime-input datetime="datetime" on-change="print(datetime)" placeholder="Select datetime"></datetime-input>
6060
```
@@ -68,8 +68,8 @@ For both date and time input
6868
| datetime | moment.js datetime object or a datetime string | none | no |
6969
| format | moment.js compatible date/time format | none | no |
7070
| placeholder | Placeholder is shown when input object is undefined | none | no |
71-
| cssClass | custom css class name | pre-defined style | no |
7271
| on-change | Handler function that is fired on change of datetime object | none | no |
72+
| css-class | custom css class name for datetime presentation | predefined | no |
7373

7474
## Dependencies
7575

0 commit comments

Comments
 (0)