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 中从 left 到 right,在 RTL 中从 right 到 left。 |
end | 在 LTR 内容的 right,在 RTL 内容的 left。 | 在 LTR 中从 right 到 left,在 RTL 中从 left 到 right。 |
属性
🌐 Properties
side
| Description | 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. |
| Attribute | side |
| Type | "end" | "start" |
| Default | 'end' |
事件
🌐 Events
| Name | Description | Bubbles |
|---|---|---|
ionSwipe | Emitted 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.