From 03895adaff72817b90dacab5ba5365d7d654be8f Mon Sep 17 00:00:00 2001 From: Jean-Francois Larouche Date: Wed, 13 Apr 2016 07:42:12 -0400 Subject: [PATCH] Fix documentation for customClass and dateDisabled --- 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