ion-item-options
item-options 组件是滑动项中 item option 按钮的容器。这些按钮可以放置在起始侧或结束侧。
有关更多信息,请参阅 item sliding 文档。
侧边说明
| 侧边 | 位置 | 滑动方向 |
|---|---|---|
start | 在 LTR 布局中位于内容左侧,在 RTL 布局中位于内容右侧。 | 在 LTR 布局中从左向右滑动,在 RTL 布局中从右向左滑动。 |
end | 在 LTR 布局中位于内容右侧,在 RTL 布局中位于内容左侧。 | 在 LTR 布局中从右向左滑动,在 RTL 布局中从左向右滑动。 |
属性
side
| Description | The side the option button should be on. Possible values: "start" and "end". If you have multiple ion-item-options, a side must be provided for each. |
| Attribute | side |
| Type | "end" | "start" |
| Default | 'end' |
事件
| Name | Description | Bubbles |
|---|---|---|
ionSwipe | Emitted when the item has been fully swiped. | true |
方法
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSS 自定义属性
No CSS custom properties available for this component.
插槽
No slots available for this component.