跳到主要内容
版本:v6

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说明冒泡
ionSwipeEmitted when the item has been fully swiped.true

方法

该组件没有可用的公共方法。

CSS 阴影部分

该组件没有可用的 CSS 阴影部分。

CSS 自定义属性

该组件没有可用的 CSS 自定义属性。

插槽

该组件没有可用的插槽。