File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,17 @@ angular.module('myApp', [
44
44
45
45
3 ) Use any of the directives in a view
46
46
47
- For date input only
47
+ For date input only:
48
48
``` html
49
49
<date-input date =" date" on-change =" print(date)" placeholder =" Select date" ></date-input >
50
50
```
51
51
52
- For time input only
52
+ For time input only:
53
53
``` html
54
54
<time-input time =" time" on-change =" print(time)" placeholder =" Select time" ></time-input >
55
55
```
56
56
57
- For both date and time input
57
+ For both date and time input:
58
58
``` html
59
59
<datetime-input datetime =" datetime" on-change =" print(datetime)" placeholder =" Select datetime" ></datetime-input >
60
60
```
@@ -68,8 +68,8 @@ For both date and time input
68
68
| datetime | moment.js datetime object or a datetime string | none | no |
69
69
| format | moment.js compatible date/time format | none | no |
70
70
| placeholder | Placeholder is shown when input object is undefined | none | no |
71
- | cssClass | custom css class name | pre-defined style | no |
72
71
| 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 |
73
73
74
74
## Dependencies
75
75
You can’t perform that action at this time.
0 commit comments