mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
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:
@ -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 -->
|
||||
|
||||
|
Reference in New Issue
Block a user