mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
@ -4,6 +4,9 @@ import { proxyEvent } from '../util/util';
|
||||
|
||||
|
||||
export class BackButtonEmitter extends EventEmitter<BackButtonDetail> {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
subscribeWithPriority(priority: number, callback: () => Promise<any> | void) {
|
||||
return this.subscribe((ev: BackButtonDetail) => {
|
||||
ev.register(priority, callback);
|
||||
|
Reference in New Issue
Block a user