docs(item-options): readme add table for side

description and replace "left" and "right" obsolete values by new "start" and "end" values.
This commit is contained in:
ghybs
2018-04-11 23:38:01 +04:00
committed by Manu MA
parent 27fae3b70d
commit 3df6e94650

View File

@ -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
</ion-item-sliding>
```
### 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. |
<!-- Auto Generated Below -->