Menu
Taro
v1.3.42
文档
组件库
API
博客
Taro UI
物料市场
论坛
京东小程序
Taro
v1.3.42
文档
组件库
API
博客
Taro UI
物料市场
论坛
京东小程序
Menu
关于API
API 说明
Taro.Component
环境判断
消息机制
设备
加速度计
startAccelerometer
stopAccelerometer
onAccelerometerChange
设备方向
startDeviceMotionListening
stopDeviceMotionListening
onDeviceMotionChange
蓝牙
closeBluetoothAdapter
getBluetoothAdapterState
getBluetoothDevices
getConnectedBluetoothDevices
onBluetoothAdapterStateChange
onBluetoothDeviceFound
openBluetoothAdapter
startBluetoothDevicesDiscovery
stopBluetoothDevicesDiscovery
低功耗蓝牙
closeBLEConnection
createBLEConnection
getBLEDeviceCharacteristics
getBLEDeviceServices
notifyBLECharacteristicValueChange
onBLECharacteristicValueChange
onBLEConnectionStateChange
readBLECharacteristicValue
writeBLECharacteristicValue
亮度
getScreenBrightness
setKeepScreenOn
setScreenBrightness
剪贴板
getClipboardData
setClipboardData
罗盘
onCompassChange
startCompass
stopCompass
联系人
addPhoneContact
iBeacon
getBeacons
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
网络
getNetworkType
onNetworkStatusChange
NFC
getHCEState
onHCEMessage
sendHCEMessage
startHCE
stopHCE
电话
makePhoneCall
扫码
scanCode
屏幕
onUserCaptureScreen
振动
vibrateLong
vibrateShort
系统信息
canIUse
getSystemInfo
getSystemInfoSync
Wi-Fi
connectWifi
getConnectedWifi
getWifiList
onGetWifiList
onWifiConnected
setWifiList
startWifi
stopWifi
扩展API
arrayBufferToBase64
base64ToArrayBuffer
文件
getFileInfo
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
界面
动画
createAnimation
画布
createCanvasContext
canvasGetImageData
canvasPutImageData
canvasToTempFilePath
createContext
drawCanvas
交互
showToast
showLoading
hideToast
hideLoading
showModal
showActionSheet
导航
navigateTo
redirectTo
switchTab
navigateBack
reLaunch
getCurrentPages
导航栏
setNavigationBarTitle
showNavigationBarLoading
hideNavigationBarLoading
setNavigationBarColor
滚动
pageScrollTo
下拉刷新
startPullDownRefresh
stopPullDownRefresh
tabbar
setTabBarBadge
removeTabBarBadge
showTabBarRedDot
hideTabBarRedDot
setTabBarStyle
setTabBarItem
showTabBar
hideTabBar
顶栏
setTopBarText
窗口
onWindowResize
offWindowResize
wxml
createSelectorQuery
selectorQuery.in
selectorQuery.select
selectorQuery.selectAll
selectorQuery.selectViewport
nodesRef.boundingClientRect
nodesRef.scrollOffset
nodesRef.fields
selectorQuery.exec
位置
getLocation
openLocation
chooseLocation
媒体
音频
playVoice
pauseVoice
stopVoice
createAudioContext
createInnerAudioContext
背景音频
getBackgroundAudioManager
getBackgroundAudioPlayerState
playBackgroundAudio
pauseBackgroundAudio
seekBackgroundAudio
stopBackgroundAudio
onBackgroundAudioPlay
onBackgroundAudioPause
onBackgroundAudioStop
相机
createCameraContext
图片
chooseImage
previewImage
getImageInfo
saveImageToPhotosAlbum
地图
createMapContext
录音
startRecord
stopRecord
视频
chooseVideo
saveVideoToPhotosAlbum
createVideoContext
网络
文件上传/下载
uploadFile
downloadFile
请求
request
addInterceptor
WebSocket
connectSocket
sendSocketMessage
closeSocket
onSocketOpen
onSocketMessage
onSocketClose
onSocketError
SocketTask
开放接口
地址
chooseAddress
认证
authorize
生物认证
checkIsSoterEnrolledInDevice
checkIsSupportSoterAuthentication
startSoterAuthentication
卡券
addCard
openCard
发票
chooseInvoice
chooseInvoiceTitle
登录
login
checkSession
支付
faceVerifyForPay
requestPayment
跳转小程序
navigateBackMiniProgram
navigateToMiniProgram
设置
getSetting
openSetting
用户信息
getUserInfo
微信运动
getWeRunData
数据缓存
setStorage
setStorageSync
getStorage
getStorageSync
getStorageInfo
getStorageInfoSync
removeStorage
removeStorageSync
clearStorage
clearStorageSync
更新
getUpdateManager
Version: 1.3.42
Taro.hideToast()
隐藏消息提示框
#
API支持度
API
微信小程序
H5
React Native
Taro.hideToast
✔️
✔️
✔️
Edit this page
Previous
« Taro.showLoading(OBJECT)
Next
Taro.hideLoading() »
API支持度