Skip to main content

ion-item-options

项目选项组件是滑动项目中item option按钮的容器。这些按钮可以放置在start or end side的任一侧。

🌐 The item options component is a container for the item option buttons in a sliding item. These buttons can be placed either on the start or end side.

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

🌐 See the item sliding documentation for more information.

侧面说明

🌐 Side Description

位置滑动方向
start在 LTR 内容的 left,在 RTL 内容的 right在 LTR 中从 leftright,在 RTL 中从 rightleft
end在 LTR 内容的 right,在 RTL 内容的 left在 LTR 中从 rightleft,在 RTL 中从 leftright

属性

🌐 Properties

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'

事件

🌐 Events

NameDescriptionBubbles
ionSwipeEmitted when the item has been fully swiped.true

方法

🌐 Methods

No public methods available for this component.

CSS 阴影部分

🌐 CSS Shadow Parts

No CSS shadow parts available for this component.

CSS 自定义属性

🌐 CSS Custom Properties

No CSS custom properties available for this component.

插槽

🌐 Slots

No slots available for this component.