跳到主要内容
版本:v8

项目选项组件

item-options 组件是滑动式项目中 item option 按钮的容器。这些按钮可以放置在起始侧或结束侧

有关更多信息,请参阅 item sliding 文档。

侧边描述

侧边位置滑动方向
start在 LTR 中位于内容的左侧,在 RTL 中位于右侧在 LTR 中从,在 RTL 中从
end在 LTR 中位于内容的右侧,在 RTL 中位于左侧在 LTR 中从,在 RTL 中从

属性

side

DescriptionThe 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.
Attributeside
Type"end" | "start"
Default'end'

事件

NameDescriptionBubbles
ionSwipeEmitted 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.