By default, the buttons are placed on the "end" side. This means that options are revealed when the sliding item is swiped from end to start, i.e. from right to left in LTR, but from left to right in RTL. To place them on the opposite side, so that they are revealed when swiping in the opposite direction, set the side attribute to "start" on the [ion-item-options]((../item-options) element. Up to two ion-item-options can be used at the same time in order to reveal two different sets of options depending on the swiping direction.

close

closeOpened

Close all of the sliding items in the list. Items can also be closed from the List.

Signature

closeOpened() => Promise<boolean>

getOpenAmount

Description

Get the amount the item is open in pixels.

Signature

getOpenAmount() => Promise<number>

getSlidingRatio

Description

Get the ratio of the open amount of the item compared to the width of the options.
If the number returned is positive, then the options on the right side are open.
If the number returned is negative, then the options on the left side are open.
If the absolute value of the number is greater than 1, the item is open more than
the width of the options.