ion-item-options
项目选项组件是滑动项目中 项目选项 按钮的容器。这些按钮可以放置在 开始或结束侧。
¥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.
有关详细信息,请参阅 项目滑动 文档。
¥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.