Skip to main content
Version: v10

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.

Refer to the item sliding documentation for more information.

Side Description​

SidePositionSwipe Direction
startTo the left of the content in LTR, and to the right in RTL.From left to right in LTR, and from right to left in RTL.
endTo the right of the content in LTR, and to the left in RTL.From right to left in LTR, and from left to right in RTL.

Properties​

mode​

DescriptionThe mode determines the platform behaviors of the component.

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributemode
Type"ios" | "md"
Defaultundefined

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'

theme​

DescriptionThe theme determines the visual appearance of the component.

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributetheme
Type"ios" | "md" | "ionic"
Defaultundefined

Events​

NameDescriptionBubbles
ionSwipeEmitted when the item has been fully swiped.true

Methods​

No public methods available for this component.

CSS Shadow Parts​

No CSS shadow parts available for this component.

CSS Custom Properties​

No CSS custom properties available for this component.

Slots​

No slots available for this component.