diff --git a/js/angular/directive/scroll.js b/js/angular/directive/scroll.js index f505deba44..b5fbb07148 100644 --- a/js/angular/directive/scroll.js +++ b/js/angular/directive/scroll.js @@ -3,10 +3,26 @@ * @name ionScroll * @module ionic * @delegate ionic.service:$ionicScrollDelegate + * @codepen mwFuh * @restrict E * * @description * Creates a scrollable container for all content inside. + * + * @usage + * + * Basic usage: + * + * ```html + * + *
+ *
+ * ``` + * + * Note that it's important to set the height of the scroll box as well as the height of the inner + * content to enable scrolling. This makes it possible to have full control over scrollable areas. + * + * If you'd just like to have a center content scrolling area, use {@link ionic.directive:ionContent} instead. * * @param {string=} delegate-handle The handle used to identify this scrollView * with {@link ionic.service:$ionicScrollDelegate}.