Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 68ed7ab

Browse files
Rouchewesleycho
authored andcommitted
docs(datepicker): fix customClass and dateDisabled
- Fix documentation for customClass and dateDisabled functions Closes #5797 Fixes #5757
1 parent d96d53e commit 68ed7ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/datepicker/docs/readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ Apart from the previous settings, to configure the uib-datepicker you need to cr
3333
<small class="badge">$</small> -
3434
An object to configure the datepicker in one place.
3535

36-
* `customClass (date, mode)` -
37-
An optional expression to add classes based on passing a date and current mode.
36+
* `customClass ({date: date, mode: mode})` -
37+
An optional expression to add classes based on passing an object with date and current mode properties.
3838

39-
* `dateDisabled (date, mode)` -
40-
An optional expression to disable visible options based on passing a date and current mode.
39+
* `dateDisabled ({date: date, mode: mode})` -
40+
An optional expression to disable visible options based on passing an object with date and current mode properties.
4141

4242
* `datepickerMode`
4343
<small class="badge">C</small>

0 commit comments

Comments
 (0)