๐Ÿ“ฆ ionic-team / ionic-docs

๐Ÿ“„ item-option.md ยท 51 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51---
title: 'ion-item-option'
---

import Props from '@ionic-internal/component-api/v7/item-option/props.md';
import Events from '@ionic-internal/component-api/v7/item-option/events.md';
import Methods from '@ionic-internal/component-api/v7/item-option/methods.md';
import Parts from '@ionic-internal/component-api/v7/item-option/parts.md';
import CustomProps from '@ionic-internal/component-api/v7/item-option/custom-props.mdx';
import Slots from '@ionic-internal/component-api/v7/item-option/slots.md';

<head>
  <title>ion-item-option: Option Button for Sliding Item in Ionic</title>
  <meta
    name="description"
    content="ion-item-option is the option button for an ion-item-sliding and must be placed inside of an <ion-item-options>. Read to learn more about properties."
  />
</head>

import EncapsulationPill from '@components/page/api/EncapsulationPill';

<EncapsulationPill type="shadow" />

The item option component is an button for a sliding item. It must be placed inside of [item options](./item-options). The `ionSwipe` event and the `expandable` property can be combined to create a full swipe action for the item.

See the [item sliding](./item-sliding) documentation for more information.

## Properties

<Props />

## Events

<Events />

## Methods

<Methods />

## CSS Shadow Parts

<Parts />

## CSS Custom Properties

<CustomProps />

## Slots

<Slots />