ion-item-options
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 Shadow Parts
该组件没有可用的 CSS 阴影部分。
CSS 自定义属性
该组件没有可用的 CSS 自定义属性。
插槽
该组件没有可用的插槽。