From 3df6e946500d617ea51405d4b8519af2300d26a3 Mon Sep 17 00:00:00 2001 From: ghybs Date: Wed, 11 Apr 2018 23:38:01 +0400 Subject: [PATCH] docs(item-options): readme add table for side description and replace "left" and "right" obsolete values by new "start" and "end" values. --- core/src/components/item-options/readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/src/components/item-options/readme.md b/core/src/components/item-options/readme.md index 10ff3cc015..a4edfea32c 100644 --- a/core/src/components/item-options/readme.md +++ b/core/src/components/item-options/readme.md @@ -1,6 +1,6 @@ # ion-item-options -The option buttons for an `ion-item-sliding`. These buttons can be placed either on the left or right side. +The option buttons for an `ion-item-sliding`. These buttons can be placed either on the [start or end side](#side-description). You can combine the `(ionSwipe)` event plus the `expandable` directive to create a full swipe action for the item. @@ -17,6 +17,13 @@ You can combine the `(ionSwipe)` event plus the `expandable` directive to create ``` +### Side description + +| Side | Position | Swipe direction | +|--------------|-----------------------------------------------------------------|-------------------------------------------------------------------| +| `start` | To the `left` of the content in LTR, and to the `right` in RTL. | From `left` to `right` in LTR, and from `right` to `left` in RTL. | +| `end` | To the `right` of the content in LTR, and to the `left` in RTL. | From `right` to `left` in LTR, and from `left` to `right` in RTL. | +