mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ion-item-options
The option buttons for an ion-item-sliding. These buttons can be placed either on the left or right side.
You can combine the (ionSwipe) event plus the expandable directive to create a full swipe action for the item.
<ion-item-sliding>
<ion-item>
Item 1
</ion-item>
<ion-item-options side="right" (ionSwipe)="saveItem(item)">
<ion-item-option expandable (click)="saveItem(item)">
<ion-icon name="star"></ion-icon>
</ion-item-option>
</ion-item-options>
</ion-item-sliding>
Properties
side
any
Attributes
side
any
Events
ionSwipe
Methods
fireSwipeEvent()
isRightSide()
width()
Built by StencilJS