uniapp vue3 鸿蒙支持的 HTML5+接口
uniapp vue3 编译鸿蒙所支持的 HTML5+接口
文档:https://www.html5plus.org/doc/zh_cn/runtime.html
{"geolocation": {//获取当前设备位置信息"getCurrentPosition": function() {},//监听设备位置变化信息"watchPosition": function() {},//关闭监听设备位置信息"clearWatch": function() {}},"io": {//将本地URL路径转换成平台绝对路径"convertLocalFileSystemURL": function() {},"getEnv": function() {}},"key": {//添加按键事件监听器"addEventListener": function() {},//移除按键事件监听器"removeEventListener": function() {}},"nativeUI": {//显示自动消失的提示消息"toast": function() {}},"navigator": {//设置系统状态栏样式"setStatusBarStyle": function() {},//获取应用的安全区域"getSafeAreaInsets": function() {},//获取应用的横竖屏状态"getOrientation": function() {}},"runtime": {//退出应用"quit": function() {},//安装应用"install": function() {},//获取指定APPID对应的应用信息"getProperty": function() {},//调用第三方程序打开指定的URL"openURL": function() {}},"webview": {//创建新的Webview窗口"create": function create() {},//查找指定标识的WebviewObject窗口"getWebviewById": function getWebviewById() {},//获取应用首页WebviewObject窗口对象"getLaunchWebview": function getLaunchWebview() {},//获取应用显示栈顶的WebviewObject窗口对象"getTopWebview": function getTopWebview() {}}
}