跳到主要内容
版本:v7

ion-item-options

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.