mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
2
core/src/components.d.ts
vendored
2
core/src/components.d.ts
vendored
@@ -4019,7 +4019,7 @@ export namespace Components {
|
||||
* The text to display on the ok button. Default: `OK`.
|
||||
*/
|
||||
'okText': string;
|
||||
'open': (ev?: UIEvent | undefined) => Promise<HTMLIonActionSheetElement | HTMLIonAlertElement | HTMLIonPopoverElement>;
|
||||
'open': (ev?: UIEvent | undefined) => Promise<HTMLIonPopoverElement | HTMLIonActionSheetElement | HTMLIonAlertElement>;
|
||||
/**
|
||||
* The text to display when the select is empty.
|
||||
*/
|
||||
|
||||
@@ -73,7 +73,7 @@ export class ItemSliding implements ComponentInterface {
|
||||
el: this.el,
|
||||
queue: this.queue,
|
||||
gestureName: 'item-swipe',
|
||||
gesturePriority: 20,
|
||||
gesturePriority: 100,
|
||||
threshold: 5,
|
||||
canStart: () => this.canStart(),
|
||||
onStart: () => this.onStart(),
|
||||
|
||||
@@ -49,6 +49,17 @@
|
||||
<ion-button class="next">Go to Page Two</ion-button>
|
||||
</ion-nav-push>
|
||||
</div>
|
||||
|
||||
<ion-list>
|
||||
<ion-item-sliding>
|
||||
<ion-item>Some item</ion-item>
|
||||
<ion-item-options>
|
||||
<ion-item-option>
|
||||
Some options
|
||||
</ion-item-option>
|
||||
</ion-item-options>
|
||||
</ion-item-sliding>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user