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

Commit c945a63

Browse files
committed
Updated README.md
1 parent b7d2633 commit c945a63

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ You can set date to be displayed by default with `date-set=""` attribute data (
104104
</datepicker>
105105
```
106106

107+
####Date disabled
108+
You can disable specific dates using the **date-disabled-dates=""** attribute and an _Array_ of dates you want to disable.
109+
110+
```html
111+
<datepicker date-disabled-dates="['2018/07/14', '2018/09/07']">
112+
<input ng-model="date" type="text"/>
113+
</datepicker>
114+
```
115+
116+
107117
####Custom titles
108118
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"_)
109119

0 commit comments

Comments
 (0)