From d5959f4c44dcda5e9cc439b1b92ef71d55568f4f Mon Sep 17 00:00:00 2001 From: mhartington Date: Wed, 29 Jun 2016 15:33:30 -0400 Subject: [PATCH] docs(itemSliding): cleanup private methods --- src/components/item/item-sliding.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/item/item-sliding.ts b/src/components/item/item-sliding.ts index 7b709d4f25..4286b67a13 100644 --- a/src/components/item/item-sliding.ts +++ b/src/components/item/item-sliding.ts @@ -196,6 +196,9 @@ export class ItemSliding { private _optsDirty: boolean = true; private _state: SlidingState = SlidingState.Disabled; + /** + * @private + */ @ContentChild(Item) private item: Item; /** @@ -332,6 +335,9 @@ export class ItemSliding { return restingPoint; } + /** + * @private + */ private fireSwipeEvent() { if (this._state & SlidingState.SwipeRight) { this._rightOptions.ionSwipe.emit(this); @@ -340,6 +346,9 @@ export class ItemSliding { } } + /** + * @private + */ private calculateOptsWidth() { nativeRaf(() => { if (!this._optsDirty) { @@ -481,4 +490,3 @@ function shouldClose(isCloseDirection: boolean, isMovingFast: boolean, isOnClose let shouldClose = (!isMovingFast && isOnCloseZone) || (isCloseDirection && isMovingFast); return shouldClose; } -