From ef8d8f6dace52ae8a1b713d538c7524c5a81e38b Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 9 Oct 2014 11:42:52 -0600 Subject: [PATCH] docs(slideBoxPager): add example with custom ng-click attr --- js/angular/directive/slideBoxPager.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/js/angular/directive/slideBoxPager.js b/js/angular/directive/slideBoxPager.js index 33b235ed7f..8d4754a6ba 100644 --- a/js/angular/directive/slideBoxPager.js +++ b/js/angular/directive/slideBoxPager.js @@ -25,6 +25,18 @@ * * ``` * + * If you provide your own `ng-click` attribute, it overrides the default + * click behavior. + * + * ```html + * + * + * 1 + * 2 + * 3 + * + * ``` + * * @param {expression=} ng-click By default, clicking a pager will select the corresponding * slide. You can override this by providing an ng-click expression. The ng-click * expression will be provided a `$slideIndex` variable, signifying the slide index