From 8f5e4bd2588b45391d832fcbdded1c1040002a5c Mon Sep 17 00:00:00 2001 From: jpmitche11 Date: Fri, 15 Jan 2016 13:55:54 -0500 Subject: [PATCH 1/2] docs(dropdown): Document dropdown on-toggle attribute --- src/dropdown/docs/readme.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dropdown/docs/readme.md b/src/dropdown/docs/readme.md index b77831a042..e163c210c3 100644 --- a/src/dropdown/docs/readme.md +++ b/src/dropdown/docs/readme.md @@ -38,6 +38,11 @@ Each of these parts need to be used as attribute directives. _(Default: `false`)_ - Enables navigation of dropdown list elements with the arrow keys. +* `on-toggle` + $ - + _(Default: `null`)_ - + An optional expression called when the dropdown menu is opened. + ### uib-dropdown-menu settings * `template-url` From 483961a0844d183461e229e1041e41bbfee195d7 Mon Sep 17 00:00:00 2001 From: Patrick Mitchell Date: Fri, 15 Jan 2016 17:03:24 -0500 Subject: [PATCH 2/2] docs(dropdown): Added param to dropdown on-toggle attribute docs --- src/dropdown/docs/readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dropdown/docs/readme.md b/src/dropdown/docs/readme.md index e163c210c3..3593aa999c 100644 --- a/src/dropdown/docs/readme.md +++ b/src/dropdown/docs/readme.md @@ -38,10 +38,9 @@ Each of these parts need to be used as attribute directives. _(Default: `false`)_ - Enables navigation of dropdown list elements with the arrow keys. -* `on-toggle` +* `on-toggle(open)` $ - - _(Default: `null`)_ - - An optional expression called when the dropdown menu is opened. + An optional expression called when the dropdown menu is opened or closed. ### uib-dropdown-menu settings