mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
@ -98,7 +98,7 @@ ion-item-sliding.active-slide {
|
|||||||
// Item Expandable Animation
|
// Item Expandable Animation
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
.button-expandable {
|
button[expandable] {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
transition-duration: 0;
|
transition-duration: 0;
|
||||||
@ -106,7 +106,7 @@ ion-item-sliding.active-slide {
|
|||||||
transition-timing-function: cubic-bezier(.65, .05, .36, 1);
|
transition-timing-function: cubic-bezier(.65, .05, .36, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-item-sliding.active-swipe-right .button-expandable {
|
ion-item-sliding.active-swipe-right button[expandable] {
|
||||||
order: 1;
|
order: 1;
|
||||||
|
|
||||||
padding-left: 90%;
|
padding-left: 90%;
|
||||||
@ -115,7 +115,7 @@ ion-item-sliding.active-swipe-right .button-expandable {
|
|||||||
transition-property: padding-left;
|
transition-property: padding-left;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-item-sliding.active-swipe-left .button-expandable {
|
ion-item-sliding.active-swipe-left button[expandable] {
|
||||||
order: -1;
|
order: -1;
|
||||||
|
|
||||||
padding-right: 90%;
|
padding-right: 90%;
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
<h2>LEFT side - no icons</h2>
|
<h2>LEFT side - no icons</h2>
|
||||||
<p>I think I figured out how to get more Mountain Dew</p>
|
<p>I think I figured out how to get more Mountain Dew</p>
|
||||||
</a>
|
</a>
|
||||||
<ion-item-options side="left" (ionSwipe)="del($event)" *ngIf="slidingEnabled">
|
<ion-item-options side="left" *ngIf="slidingEnabled">
|
||||||
<button ion-button color="primary" (click)="archive(item1)">Archive</button>
|
<button ion-button color="primary" (click)="archive(item1)">Archive</button>
|
||||||
<button ion-button color="danger" (click)="del(item1)">Delete</button>
|
<button ion-button color="danger" (click)="del(item1)">Delete</button>
|
||||||
</ion-item-options>
|
</ion-item-options>
|
||||||
|
Reference in New Issue
Block a user