UNPKG

@imolinelli/ionic-appauth

Version:

Intergration for OpenId/AppAuth-JS into Ionic V3/4/5

13 lines (12 loc) 312 B
export class CordovaDocument { static ready(f) { return new Promise((resolve) => { document.addEventListener("deviceready", () => { if (f != undefined) { f(); } resolve(); }); }); } }