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', [
4444
45453 ) 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
You can’t perform that action at this time.
0 commit comments