Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit c37f006

Browse files
committed
going to change attribute names
1 parent e1be372 commit c37f006

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,20 @@ You can set date to be displayed by default with `date-set=""` attribute data (
111111
</datepicker>
112112
```
113113

114-
#### Custom titles
115-
You can set the titles for the month and year selectors with 'yearTitle="" and 'monthTitle=""'. Set by default to "select month" and "select year".
114+
####Custom titles
115+
You can set the titles for the month and year selectors with the **date-year-title=""** and **date-month-title=""** data attributes (default to is _"select month"_ and _"select year"_)
116116

117-
<datepicker >
118-
<input ng-model="date" monthTitle="selected year"/>
117+
<datepicker>
118+
<input ng-model="date" date-month-title="selected year"/>
119119
</datepicker>
120120

121-
122-
<datepicker >
123-
<input ng-model="date" yearTitle="selected title"/>
121+
<datepicker>
122+
<input ng-model="date" date-year-title="selected title"/>
124123
</datepicker>
125124

126125

127-
### Custom titles for arrows
128-
You can also set the titles for the left and right arrows with 'nextTitle=""' for the right and 'prevTitle=""' for the left. By default they are labeled "next" and "prev".
126+
####Custom titles for arrows
127+
You can also set the titles for the left and right arrows with **date-next-title=""** for the right and **date-prev-title=""** for the left. By default they are labeled _"next"_ and _"prev"_.
129128
<datepicker >
130129
<input ng-model="date" prevTitle="previous month"/>
131130
</datepicker>

0 commit comments

Comments
 (0)