提交 c987860f 编写于 作者: D DCloud_LXH

fix: uni-app-x api

上级 c7037873
......@@ -63,6 +63,10 @@
12. 路径注意
- _sidebar.md是左侧导航,其中路径写https路径,可打开新页签。如左侧导航里引用了本产品目录之外的文档,需写成这种方式
- 每个产品目录下均有一个static目录,在其中提交图片视频等静态资源。引用static下的静态资源时,路径可以是"../static"、"./static",不能写"static/"。
- 书写文档时应注意特殊符号的编写与换行:
- `###` 下应有空行
- `内容 **加粗** 内容` 两边需要有空格
- 在书写方括号 `[]` 时要注意使用转义字符 `\`,或者使用 `\`\`` 包裹,否则会被识别为链接,导致链接失效
13. md 表格支持行、列合并
- 行列合并
......
......@@ -81,6 +81,7 @@
* [获取系统设置](api/getsystemsetting.md)
* 媒体
* [图片选择和预览](api/preview-image.md)
* [保存图片到相册](api/saveimagetophotosalbum.md)
* 位置
* [获取当前位置](api/getlocation.md)
* 数据存储
......
## uni.$on(eventName, callback) @$on
<!-- UTSAPIJSON.event-bus.description -->
<!-- UTSAPIJSON.$on.description -->
<!-- UTSAPIJSON.event-bus.param -->
<!-- UTSAPIJSON.$on.param -->
<!-- UTSAPIJSON.event-bus.returnValue -->
<!-- UTSAPIJSON.$on.returnValue -->
<!-- UTSAPIJSON.event-bus.compatibility -->
<!-- UTSAPIJSON.$on.compatibility -->
<!-- UTSAPIJSON.event-bus.tutorial -->
<!-- UTSAPIJSON.$on.tutorial -->
## uni.$off(eventName, callback) @$off
<!-- UTSAPIJSON.event-bus.description -->
<!-- UTSAPIJSON.$off.description -->
<!-- UTSAPIJSON.event-bus.param -->
<!-- UTSAPIJSON.$off.param -->
<!-- UTSAPIJSON.event-bus.returnValue -->
<!-- UTSAPIJSON.$off.returnValue -->
<!-- UTSAPIJSON.event-bus.compatibility -->
<!-- UTSAPIJSON.$off.compatibility -->
<!-- UTSAPIJSON.event-bus.tutorial -->
<!-- UTSAPIJSON.$off.tutorial -->
## uni.$once(eventName, callback) @$once
<!-- UTSAPIJSON.event-bus.description -->
<!-- UTSAPIJSON.$once.description -->
<!-- UTSAPIJSON.event-bus.param -->
<!-- UTSAPIJSON.$once.param -->
<!-- UTSAPIJSON.event-bus.returnValue -->
<!-- UTSAPIJSON.$once.returnValue -->
<!-- UTSAPIJSON.event-bus.compatibility -->
<!-- UTSAPIJSON.$once.compatibility -->
<!-- UTSAPIJSON.event-bus.tutorial -->
<!-- UTSAPIJSON.$once.tutorial -->
## uni.$emit(eventName, args) @$emit
<!-- UTSAPIJSON.event-bus.description -->
<!-- UTSAPIJSON.$emit.description -->
<!-- UTSAPIJSON.event-bus.param -->
<!-- UTSAPIJSON.$emit.param -->
<!-- UTSAPIJSON.event-bus.returnValue -->
<!-- UTSAPIJSON.$emit.returnValue -->
<!-- UTSAPIJSON.event-bus.compatibility -->
<!-- UTSAPIJSON.$emit.compatibility -->
<!-- UTSAPIJSON.event-bus.tutorial -->
<!-- UTSAPIJSON.$emit.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.showModal(options) @showmodal
<!-- UTSAPIJSON.modal.description -->
<!-- UTSAPIJSON.showModal.description -->
<!-- UTSAPIJSON.modal.param -->
<!-- UTSAPIJSON.showModal.param -->
<!-- UTSAPIJSON.modal.returnValue -->
<!-- UTSAPIJSON.showModal.returnValue -->
<!-- UTSAPIJSON.modal.compatibility -->
<!-- UTSAPIJSON.showModal.compatibility -->
<!-- UTSAPIJSON.modal.tutorial -->
<!-- UTSAPIJSON.showModal.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.navigateTo(options) @navigateto
<!-- UTSAPIJSON.navigator.description -->
<!-- UTSAPIJSON.navigateTo.description -->
<!-- UTSAPIJSON.navigator.param -->
<!-- UTSAPIJSON.navigateTo.param -->
<!-- UTSAPIJSON.navigator.returnValue -->
<!-- UTSAPIJSON.navigateTo.returnValue -->
<!-- UTSAPIJSON.navigator.compatibility -->
<!-- UTSAPIJSON.navigateTo.compatibility -->
<!-- UTSAPIJSON.navigator.tutorial -->
<!-- UTSAPIJSON.navigateTo.tutorial -->
## uni.redirectTo(options) @redirectto
<!-- UTSAPIJSON.navigator.description -->
<!-- UTSAPIJSON.redirectTo.description -->
<!-- UTSAPIJSON.navigator.param -->
<!-- UTSAPIJSON.redirectTo.param -->
<!-- UTSAPIJSON.navigator.returnValue -->
<!-- UTSAPIJSON.redirectTo.returnValue -->
<!-- UTSAPIJSON.navigator.compatibility -->
<!-- UTSAPIJSON.redirectTo.compatibility -->
<!-- UTSAPIJSON.navigator.tutorial -->
<!-- UTSAPIJSON.redirectTo.tutorial -->
## uni.reLaunch(options) @relaunch
<!-- UTSAPIJSON.navigator.description -->
<!-- UTSAPIJSON.reLaunch.description -->
<!-- UTSAPIJSON.navigator.param -->
<!-- UTSAPIJSON.reLaunch.param -->
<!-- UTSAPIJSON.navigator.returnValue -->
<!-- UTSAPIJSON.reLaunch.returnValue -->
<!-- UTSAPIJSON.navigator.compatibility -->
<!-- UTSAPIJSON.reLaunch.compatibility -->
<!-- UTSAPIJSON.navigator.tutorial -->
<!-- UTSAPIJSON.reLaunch.tutorial -->
## uni.switchTab(options) @switchtab
<!-- UTSAPIJSON.navigator.description -->
<!-- UTSAPIJSON.switchTab.description -->
<!-- UTSAPIJSON.navigator.param -->
<!-- UTSAPIJSON.switchTab.param -->
<!-- UTSAPIJSON.navigator.returnValue -->
<!-- UTSAPIJSON.switchTab.returnValue -->
<!-- UTSAPIJSON.navigator.compatibility -->
<!-- UTSAPIJSON.switchTab.compatibility -->
<!-- UTSAPIJSON.navigator.tutorial -->
<!-- UTSAPIJSON.switchTab.tutorial -->
## uni.navigateBack(options?) @navigateback
<!-- UTSAPIJSON.navigator.description -->
<!-- UTSAPIJSON.navigateBack.description -->
<!-- UTSAPIJSON.navigator.param -->
<!-- UTSAPIJSON.navigateBack.param -->
<!-- UTSAPIJSON.navigator.returnValue -->
<!-- UTSAPIJSON.navigateBack.returnValue -->
<!-- UTSAPIJSON.navigator.compatibility -->
<!-- UTSAPIJSON.navigateBack.compatibility -->
<!-- UTSAPIJSON.navigator.tutorial -->
<!-- UTSAPIJSON.navigateBack.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.createSelectorQuery() @createselectorquery
<!-- UTSAPIJSON.nodes-info.description -->
<!-- UTSAPIJSON.createSelectorQuery.description -->
<!-- UTSAPIJSON.nodes-info.param -->
<!-- UTSAPIJSON.createSelectorQuery.param -->
<!-- UTSAPIJSON.nodes-info.returnValue -->
<!-- UTSAPIJSON.createSelectorQuery.returnValue -->
<!-- UTSAPIJSON.nodes-info.compatibility -->
<!-- UTSAPIJSON.createSelectorQuery.compatibility -->
<!-- UTSAPIJSON.nodes-info.tutorial -->
<!-- UTSAPIJSON.createSelectorQuery.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.chooseImage(options) @chooseimage
<!-- UTSAPIJSON.preview-image.description -->
<!-- UTSAPIJSON.chooseImage.description -->
<!-- UTSAPIJSON.preview-image.param -->
<!-- UTSAPIJSON.chooseImage.param -->
<!-- UTSAPIJSON.preview-image.returnValue -->
<!-- UTSAPIJSON.chooseImage.returnValue -->
<!-- UTSAPIJSON.preview-image.compatibility -->
<!-- UTSAPIJSON.chooseImage.compatibility -->
<!-- UTSAPIJSON.preview-image.tutorial -->
<!-- UTSAPIJSON.chooseImage.tutorial -->
## uni.previewImage(options) @previewimage
<!-- UTSAPIJSON.preview-image.description -->
<!-- UTSAPIJSON.previewImage.description -->
<!-- UTSAPIJSON.preview-image.param -->
<!-- UTSAPIJSON.previewImage.param -->
<!-- UTSAPIJSON.preview-image.returnValue -->
<!-- UTSAPIJSON.previewImage.returnValue -->
<!-- UTSAPIJSON.preview-image.compatibility -->
<!-- UTSAPIJSON.previewImage.compatibility -->
<!-- UTSAPIJSON.preview-image.tutorial -->
<!-- UTSAPIJSON.previewImage.tutorial -->
## uni.closePreviewImage(options) @closepreviewimage
<!-- UTSAPIJSON.preview-image.description -->
<!-- UTSAPIJSON.closePreviewImage.description -->
<!-- UTSAPIJSON.preview-image.param -->
<!-- UTSAPIJSON.closePreviewImage.param -->
<!-- UTSAPIJSON.preview-image.returnValue -->
<!-- UTSAPIJSON.closePreviewImage.returnValue -->
<!-- UTSAPIJSON.preview-image.compatibility -->
<!-- UTSAPIJSON.closePreviewImage.compatibility -->
<!-- UTSAPIJSON.preview-image.tutorial -->
<!-- UTSAPIJSON.closePreviewImage.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.stopPullDownRefresh() @stoppulldownrefresh
<!-- UTSAPIJSON.pull-down-refresh.description -->
<!-- UTSAPIJSON.stopPullDownRefresh.description -->
<!-- UTSAPIJSON.pull-down-refresh.param -->
<!-- UTSAPIJSON.stopPullDownRefresh.param -->
<!-- UTSAPIJSON.pull-down-refresh.returnValue -->
<!-- UTSAPIJSON.stopPullDownRefresh.returnValue -->
<!-- UTSAPIJSON.pull-down-refresh.compatibility -->
<!-- UTSAPIJSON.stopPullDownRefresh.compatibility -->
<!-- UTSAPIJSON.pull-down-refresh.tutorial -->
<!-- UTSAPIJSON.stopPullDownRefresh.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.saveImageToPhotosAlbum(options) @saveimagetophotosalbum
<!-- UTSAPIJSON.saveImageToPhotosAlbum.description -->
<!-- UTSAPIJSON.saveImageToPhotosAlbum.param -->
<!-- UTSAPIJSON.saveImageToPhotosAlbum.returnValue -->
<!-- UTSAPIJSON.saveImageToPhotosAlbum.compatibility -->
<!-- UTSAPIJSON.saveImageToPhotosAlbum.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
<!-- UTSAPIJSON.general_type.param -->
\ No newline at end of file
## uni.setTabBarBadge(options) @settabbarbadge
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.setTabBarBadge.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.setTabBarBadge.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.setTabBarBadge.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.setTabBarBadge.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.setTabBarBadge.tutorial -->
## uni.removeTabBarBadge(options) @removetabbarbadge
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.removeTabBarBadge.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.removeTabBarBadge.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.removeTabBarBadge.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.removeTabBarBadge.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.removeTabBarBadge.tutorial -->
## uni.setTabBarItem(options) @settabbaritem
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.setTabBarItem.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.setTabBarItem.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.setTabBarItem.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.setTabBarItem.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.setTabBarItem.tutorial -->
## uni.setTabBarStyle(options) @settabbarstyle
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.setTabBarStyle.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.setTabBarStyle.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.setTabBarStyle.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.setTabBarStyle.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.setTabBarStyle.tutorial -->
## uni.hideTabBar(options?) @hidetabbar
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.hideTabBar.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.hideTabBar.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.hideTabBar.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.hideTabBar.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.hideTabBar.tutorial -->
## uni.showTabBar(options?) @showtabbar
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.showTabBar.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.showTabBar.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.showTabBar.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.showTabBar.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.showTabBar.tutorial -->
## uni.showTabBarRedDot(options) @showtabbarreddot
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.showTabBarRedDot.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.showTabBarRedDot.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.showTabBarRedDot.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.showTabBarRedDot.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.showTabBarRedDot.tutorial -->
## uni.hideTabBarRedDot(options) @hidetabbarreddot
<!-- UTSAPIJSON.set-tabbar.description -->
<!-- UTSAPIJSON.hideTabBarRedDot.description -->
<!-- UTSAPIJSON.set-tabbar.param -->
<!-- UTSAPIJSON.hideTabBarRedDot.param -->
<!-- UTSAPIJSON.set-tabbar.returnValue -->
<!-- UTSAPIJSON.hideTabBarRedDot.returnValue -->
<!-- UTSAPIJSON.set-tabbar.compatibility -->
<!-- UTSAPIJSON.hideTabBarRedDot.compatibility -->
<!-- UTSAPIJSON.set-tabbar.tutorial -->
<!-- UTSAPIJSON.hideTabBarRedDot.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.setStorage(options) @setstorage
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.setStorage.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.setStorage.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.setStorage.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.setStorage.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.setStorage.tutorial -->
## uni.setStorageSync(key, data) @setstoragesync
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.setStorageSync.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.setStorageSync.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.setStorageSync.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.setStorageSync.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.setStorageSync.tutorial -->
## uni.getStorage(options) @getstorage
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.getStorage.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.getStorage.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.getStorage.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.getStorage.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.getStorage.tutorial -->
## uni.getStorageSync(key) @getstoragesync
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.getStorageSync.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.getStorageSync.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.getStorageSync.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.getStorageSync.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.getStorageSync.tutorial -->
## uni.getStorageInfo(options) @getstorageinfo
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.getStorageInfo.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.getStorageInfo.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.getStorageInfo.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.getStorageInfo.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.getStorageInfo.tutorial -->
## uni.getStorageInfoSync() @getstorageinfosync
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.getStorageInfoSync.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.getStorageInfoSync.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.getStorageInfoSync.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.getStorageInfoSync.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.getStorageInfoSync.tutorial -->
## uni.removeStorage(options) @removestorage
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.removeStorage.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.removeStorage.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.removeStorage.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.removeStorage.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.removeStorage.tutorial -->
## uni.removeStorageSync(key) @removestoragesync
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.removeStorageSync.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.removeStorageSync.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.removeStorageSync.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.removeStorageSync.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.removeStorageSync.tutorial -->
## uni.clearStorage(option?) @clearstorage
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.clearStorage.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.clearStorage.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.clearStorage.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.clearStorage.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.clearStorage.tutorial -->
## uni.clearStorageSync() @clearstoragesync
<!-- UTSAPIJSON.storage.description -->
<!-- UTSAPIJSON.clearStorageSync.description -->
<!-- UTSAPIJSON.storage.param -->
<!-- UTSAPIJSON.clearStorageSync.param -->
<!-- UTSAPIJSON.storage.returnValue -->
<!-- UTSAPIJSON.clearStorageSync.returnValue -->
<!-- UTSAPIJSON.storage.compatibility -->
<!-- UTSAPIJSON.clearStorageSync.compatibility -->
<!-- UTSAPIJSON.storage.tutorial -->
<!-- UTSAPIJSON.clearStorageSync.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.showToast(options) @showtoast
<!-- UTSAPIJSON.toast.description -->
<!-- UTSAPIJSON.showToast.description -->
<!-- UTSAPIJSON.toast.param -->
<!-- UTSAPIJSON.showToast.param -->
<!-- UTSAPIJSON.toast.returnValue -->
<!-- UTSAPIJSON.showToast.returnValue -->
<!-- UTSAPIJSON.toast.compatibility -->
<!-- UTSAPIJSON.showToast.compatibility -->
<!-- UTSAPIJSON.toast.tutorial -->
<!-- UTSAPIJSON.showToast.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
## uni.connectSocket(options) @connectsocket
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.connectSocket.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.connectSocket.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.connectSocket.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.connectSocket.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.connectSocket.tutorial -->
## uni.onSocketOpen(options) @onsocketopen
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.onSocketOpen.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.onSocketOpen.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.onSocketOpen.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.onSocketOpen.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.onSocketOpen.tutorial -->
## uni.onSocketError(callback) @onsocketerror
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.onSocketError.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.onSocketError.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.onSocketError.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.onSocketError.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.onSocketError.tutorial -->
## uni.sendSocketMessage(options) @sendsocketmessage
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.sendSocketMessage.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.sendSocketMessage.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.sendSocketMessage.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.sendSocketMessage.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.sendSocketMessage.tutorial -->
## uni.onSocketMessage(callback) @onsocketmessage
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.onSocketMessage.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.onSocketMessage.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.onSocketMessage.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.onSocketMessage.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.onSocketMessage.tutorial -->
## uni.closeSocket(options) @closesocket
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.closeSocket.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.closeSocket.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.closeSocket.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.closeSocket.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.closeSocket.tutorial -->
## uni.onSocketClose(callback) @onsocketclose
<!-- UTSAPIJSON.websocket-global.description -->
<!-- UTSAPIJSON.onSocketClose.description -->
<!-- UTSAPIJSON.websocket-global.param -->
<!-- UTSAPIJSON.onSocketClose.param -->
<!-- UTSAPIJSON.websocket-global.returnValue -->
<!-- UTSAPIJSON.onSocketClose.returnValue -->
<!-- UTSAPIJSON.websocket-global.compatibility -->
<!-- UTSAPIJSON.onSocketClose.compatibility -->
<!-- UTSAPIJSON.websocket-global.tutorial -->
<!-- UTSAPIJSON.onSocketClose.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册