ionic-team · GitHub

Lines changed: 2 additions & 0 deletions

Original file line numberDiff line numberDiff line change

@@ -939,7 +939,9 @@ ion-item,css-prop,--ripple-color,ios

939939

ion-item,css-prop,--ripple-color,md

940940

ion-item,css-prop,--transition,ios

941941

ion-item,css-prop,--transition,md

942+

ion-item,part,container

942943

ion-item,part,detail-icon

944+

ion-item,part,inner

943945

ion-item,part,native

944946
945947

ion-item-divider,shadow

Lines changed: 4 additions & 2 deletions

Original file line numberDiff line numberDiff line change

@@ -18,6 +18,8 @@ import type { RouterDirection } from '../router/utils/interface';

1818

* @slot end - Content is placed to the right of the item text in LTR, and to the left in RTL.

1919

*

2020

* @part native - The native HTML button, anchor or div element that wraps all child elements.

21+

* @part inner - The inner wrapper element that arranges the item content.

22+

* @part container - The wrapper element that contains the default slot.

2123

* @part detail-icon - The chevron icon for the item. Only applies when `detail="true"`.

2224

*/

2325

@Component({

@@ -390,8 +392,8 @@ export class Item implements ComponentInterface, AnchorInterface, ButtonInterfac

390392

{...clickFn}

391393

>

392394

<slot name="start" onSlotchange={this.updateInteractivityOnSlotChange}></slot>

393-

<div class="item-inner">

394-

<div class="input-wrapper">

395+

<div class="item-inner" part="inner">

396+

<div class="input-wrapper" part="container">

395397

<slot onSlotchange={this.updateInteractivityOnSlotChange}></slot>

396398

</div>

397399

<slot name="end" onSlotchange={this.updateInteractivityOnSlotChange}></slot>

Lines changed: 0 additions & 49 deletions

Lines changed: 0 additions & 17 deletions

-7.88 KB

Binary file not shown.

-13.8 KB

Binary file not shown.

-9.21 KB

Binary file not shown.

-8.19 KB

Binary file not shown.

-13.8 KB

Binary file not shown.

-9.72 KB

Binary file not shown.

Read the original on github.com ↗