From 68ed7ab477044903e77bf3f927e707001696a122 Mon Sep 17 00:00:00 2001 From: Jean-Francois Larouche Date: Wed, 13 Apr 2016 07:42:12 -0400 Subject: [PATCH] docs(datepicker): fix customClass and dateDisabled - Fix documentation for customClass and dateDisabled functions Closes #5797 Fixes #5757 --- src/datepicker/docs/readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/datepicker/docs/readme.md b/src/datepicker/docs/readme.md index cdbf1fa78c..309fb64a21 100644 --- a/src/datepicker/docs/readme.md +++ b/src/datepicker/docs/readme.md @@ -33,11 +33,11 @@ Apart from the previous settings, to configure the uib-datepicker you need to cr $ - An object to configure the datepicker in one place. - * `customClass (date, mode)` - - An optional expression to add classes based on passing a date and current mode. + * `customClass ({date: date, mode: mode})` - + An optional expression to add classes based on passing an object with date and current mode properties. - * `dateDisabled (date, mode)` - - An optional expression to disable visible options based on passing a date and current mode. + * `dateDisabled ({date: date, mode: mode})` - + An optional expression to disable visible options based on passing an object with date and current mode properties. * `datepickerMode` C