mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
fix(angular): add event listener on window (#15628)
This commit is contained in:
@ -39,7 +39,7 @@ export class Platform {
|
||||
proxyEvent(this.pause, document, 'pause');
|
||||
proxyEvent(this.resume, document, 'resume');
|
||||
proxyEvent(this.backButton, document, 'backbutton');
|
||||
proxyEvent(this.resize, document, 'resize');
|
||||
proxyEvent(this.resize, window, 'resize');
|
||||
|
||||
let readyResolve: (value: string) => void;
|
||||
this._readyPromise = new Promise(res => { readyResolve = res; });
|
||||
|
Reference in New Issue
Block a user