Add method to redirect to a specific URL
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
3efadcb72c
commit
987a83b4cf
1 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,10 @@ export class Platform {
|
|||
return promise;
|
||||
}
|
||||
|
||||
openUrl(url) {
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
parseHTML(html) {
|
||||
return parseHTML(html);
|
||||
}
|
||||
|
|
Reference in a new issue