mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Add method to redirect to a specific URL
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
3efadcb72c
commit
987a83b4cf
@ -240,6 +240,10 @@ export class Platform {
|
||||
return promise;
|
||||
}
|
||||
|
||||
openUrl(url) {
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
parseHTML(html) {
|
||||
return parseHTML(html);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user