You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: src/datepicker/docs/readme.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ Everything is formatted using the [date filter](http://docs.angularjs.org/api/ng
7
7
8
8
### Datepicker Settings ###
9
9
10
-
All settings can be provided as attributes in the `<datepicker>` or globally configured through the `datepickerConfig`. `datepicker-popup` options may be provided as attributes in the `datepicker-popup`'s element, or globally configured through the `datepickerPopupConfig`.
10
+
All settings can be provided as attributes in the `<datepicker>` or globally configured through the `datepickerConfig`.
11
+
11
12
*`ng-model` <iclass="icon-eye-open"></i>
12
13
:
13
14
The date object.
@@ -64,12 +65,16 @@ All settings can be provided as attributes in the `<datepicker>` or globally con
64
65
### Popup Settings ###
65
66
66
67
Options for datepicker can be passed as JSON using the `datepicker-options` attribute.
67
-
Specific settings for the `datepicker-popup` are:
68
+
Specific settings for the `datepicker-popup`, that can globally configured through the `datepickerPopupConfig`, are:
68
69
69
70
*`datepicker-popup`
70
71
_(Default: 'yyyy-MM-dd')_ :
71
72
The format for displayed dates.
72
73
74
+
*`show-button-bar`
75
+
_(Default: true)_ :
76
+
Whether to display a button bar underneath the datepicker.
77
+
73
78
*`current-text`
74
79
_(Default: 'Today')_ :
75
80
The text to display for the current day button.
@@ -89,7 +94,7 @@ Specific settings for the `datepicker-popup` are:
89
94
*`close-on-date-selection`
90
95
_(Default: true)_ :
91
96
Whether to close calendar when a date is chosen.
92
-
97
+
93
98
*`datepicker-append-to-body`
94
99
_(Default: false)_:
95
100
Append the datepicker popup element to `body`, rather than inserting after `datepicker-popup`. For global configuration, use `datepickerPopupConfig.appendToBody`.
0 commit comments