ion-item-options
项目选项组件是滑动项目中项目选项(item option)按钮的容器。这些按钮可以放置在开始侧或结束侧。
更多信息请参阅项目滑动(item sliding)文档。
方向说明
| 方向 | 位置 | 滑动方向 |
|---|---|---|
start | 在 LTR 中位于内容的左侧,在 RTL 中位于内容的右侧。 | 在 LTR 中从左到右滑动,在 RTL 中从右到左滑动。 |
end | 在 LTR 中位于内容的右侧,在 RTL 中位于内容的左侧。 | 在 LTR 中从右到左滑动,在 RTL 中从左到右滑动。 |
属性
side
| 说明 | 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. |
| 属性 | side |
| 类型 | "end" | "start" |
| 默认值 | 'end' |
事件
| Name | 说明 | 冒泡 |
|---|---|---|
ionSwipe | Emitted when the item has been fully swiped. | true |
方法
该组件没有可用的公共方法。
CSS 阴影部分
该组件没有可用的 CSS 阴影部分。
CSS 自定义属性
该组件没有可用的 CSS 自定义属性。
插槽
该组件没有可用的插槽。