From 039940d4b7e2f8e72da64b65065ddf7d15eed7a9 Mon Sep 17 00:00:00 2001 From: Elior Boukhobza Date: Sat, 16 Jan 2016 12:04:07 +0200 Subject: [PATCH] fix(scroll): fix doc about scrollX and scrollY attributes Been trying to use scroll with scroll-y but to no avail, and I found out that the directive was listening for scrollY events. --- ionic/components/scroll/scroll.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ionic/components/scroll/scroll.ts b/ionic/components/scroll/scroll.ts index f3e11a5375..05e6656e99 100644 --- a/ionic/components/scroll/scroll.ts +++ b/ionic/components/scroll/scroll.ts @@ -13,19 +13,19 @@ import * as util from '../../util'; * Scroll is a non-flexboxed scroll area that can scroll horizontally or vertically. `ion-Scroll` Can be used in places were you may not need a full page scroller, but a highly customized one, such as image scubber or comment scroller. * @usage * ```html - * + * * * - * + * * * - * + * * * ``` - *@property {boolean} [scroll-x] - whether to enable scrolling along the X axis - *@property {boolean} [scroll-y] - whether to enable scrolling along the Y axis + *@property {boolean} [scrollX] - whether to enable scrolling along the X axis + *@property {boolean} [scrollY] - whether to enable scrolling along the Y axis *@property {boolean} [zoom] - whether to enable zooming - *@property {number} [max-zoom] - set the max zoom amount for ion-scroll + *@property {number} [maxZoom] - set the max zoom amount for ion-scroll * @demo /docs/v2/demos/scroll/ */ @Component({