mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(sliding-item): swipe event
This commit is contained in:
@ -24,11 +24,13 @@ export class ItemOptions {
|
||||
/**
|
||||
* Emitted when the item has been fully swiped.
|
||||
*/
|
||||
@Event() ionSwipe!: EventEmitter<void>;
|
||||
@Event() ionSwipe!: EventEmitter<any>;
|
||||
|
||||
@Method()
|
||||
fireSwipeEvent() {
|
||||
this.ionSwipe.emit();
|
||||
this.ionSwipe.emit({
|
||||
side: this.side
|
||||
});
|
||||
}
|
||||
|
||||
hostData() {
|
||||
|
Reference in New Issue
Block a user