首页
(current)
分类
标签
排行榜
搜索
注册
登录
小鹤
Taro 文档帮助手册教程
Taro 文档帮助手册教程
语言:中文 | 章节:2775 | 阅读:595104 | 收藏:0 | 评论:0
Taro 文档帮助手册教程
Taro
阅读
收藏
打赏
分享
举报
目录
评论
Taro 文档
多端统一开发框架 - Taro
为何我们要用 React 来写小程序 - Taro 诞生记
首个多端 UI 组件库 - Taro UI 发布
Taro 在京东购物小程序上的实践
多端统一开发框架 Taro 1.0 正式发布
Taro 1.1 发布,全面支持微信/百度/支付宝小程序
Taro 1.2:将已有微信小程序转换为多端应用
Taro UI 2.0 发布:新增自定义主题功能,适配更多小程序
决战性能之巅 - Taro H5 转换与优化升级
小程序框架全面测评
Taro 1.3 震撼升级:全面支持 JSX 语法和 HOOKS
Taro 「物料市场」及「交流社区」 惊喜上线
使用 React Hooks 重构你的小程序
玩转Taro跨端之flex布局篇
Taro 邀你加入社区共建 — 社区共建倡议书
京喜首页(微信购物入口)跨端开发与优化实践
小程序跨框架开发的探索与实践
Taro 2.0:拥抱社区,拥抱变化
Taro Next 发布预览版:同时支持 React / Vue / Nerv
使用 Taro 快速开发京东小程序
京东小程序 Taro 开发对比原生开发测评
Taro 3.0 RC:React/Vue/Nerv 任你选
Taro 3 正式版发布:开放式跨端跨框架解决方案
Taro 版本升级权威指南
增加 React Native 支持的 Taro 3.2.0 版本测试通告
Taro v3.1 发布 beta 版本
Taro Next H5 跨框架组件库实践
Taro 助力京喜拼拼项目性能体验优化
Taro 正式发布 3.1 版本
Taro 3.2 版本正式发布:React Native 支持,王者归来
Taro 3.3 alpha 发布:用 ant-design 开发小程序?
Taro 正式发布 3.3 版本:支持使用 H5 标签与框架 DevTools
iOS
Taro v3.4 发布 beta 版本 —— 支持使用 Preact 进行开发
Taro v3.5 发布 canary 版本 —— 支持适配 鸿蒙
如何参与大型开源项目-Taro 共建
Taro 正式发布 3.4 版本 —— 全面支持 Preact 和 Vue3.2
速来围观,你最期待的 Taro 特性正在发布
成为 Taro 社区的一员 - 贡献者晋级指南
贡献指南
安装及使用
General
API 说明
环境判断
消息机制
组件生命周期
InterstitialAd
RewardedVideoAd
创建插屏广告组件
创建激励视频广告组件
Taro.faceDetect(option)
Taro.initFaceDetect(option)
Taro.stopFaceDetect(option)
VKAnchor
VKCamera
VKFrame
VKSession
Taro.createVKSession(version)
Taro.isVKSupport(version)
Taro.getOpenUserInfo()
arrayBufferToBase64
base64ToArrayBuffer
Taro.canIUse(schema)
Taro.canIUseWebp()
UserCryptoManager
Taro.getUserCryptoManager()
LogManager
RealtimeLogManager
RealtimeTagLogManager
console
getLogManager
getRealtimeLogManager
setEnableDebug
env
env
EntryList
Performance
PerformanceEntry
PerformanceObserver
getPerformance
reportPerformance
preload
getAppAuthorizeSetting
Taro.getAppBaseInfo()
Taro.getDeviceInfo() 获取设备信息
getSystemInfo
getSystemInfoAsync
getSystemInfoSync
getSystemSetting 获取设备设置
Taro.getWindowInfo()
Taro.openAppAuthorizeSetting(option)
Taro.openSystemBluetoothSetting(option)
UpdateManager
Taro.getUpdateManager()
Taro.updateWeChatApp(option)
Taro.offAppHide(callback)
Taro.offAppShow(callback)
Taro.offAudioInterruptionBegin(callback)
Taro.offAudioInterruptionEnd(callback)
Taro.offError(callback)
Taro.offPageNotFound(callback)
offThemeChange
offUnhandledRejection
onAppHide
onAppShow
onAudioInterruptionBegin
onAudioInterruptionEnd
onError
onPageNotFound
onThemeChange
onUnhandledRejection
getEnterOptionsSync
getLaunchOptionsSync
Canvas
CanvasContext
CanvasGradient
Color
Image
ImageData
OffscreenCanvas
Path2D
RenderingContext
canvasGetImageData
canvasPutImageData
canvasToTempFilePath
createCanvasContext
createContext
createOffscreenCanvas
drawCanvas
DB
Cloud
getExptInfoSync
reportAnalytics
reportEvent
reportMonitor
offAccelerometerChange
onAccelerometerChange
startAccelerometer
stopAccelerometer
checkIsOpenAccessibility
getBatteryInfo
getBatteryInfoSync
closeBluetoothAdapter
getBluetoothAdapterState
getBluetoothDevices
getConnectedBluetoothDevices
isBluetoothDevicePaired
makeBluetoothPair
offBluetoothAdapterStateChange
offBluetoothDeviceFound
onBluetoothAdapterStateChange
onBluetoothDeviceFound
openBluetoothAdapter
startBluetoothDevicesDiscovery
stopBluetoothDevicesDiscovery
closeBLEConnection
createBLEConnection
getBLEDeviceCharacteristics
getBLEDeviceRSSI
getBLEDeviceServices
getBLEMTU
notifyBLECharacteristicValueChange
offBLECharacteristicValueChange
offBLEConnectionStateChange
offBLEMTUChange
onBLECharacteristicValueChange
onBLEConnectionStateChange
onBLEMTUChange
readBLECharacteristicValue
setBLEMTU
writeBLECharacteristicValue
BLEPeripheralServer
createBLEPeripheralServer
offBLEPeripheralConnectionStateChanged
onBLEPeripheralConnectionStateChanged
addPhoneCalendar
addPhoneRepeatCalendar
getClipboardData
setClipboardData
offCompassChange
onCompassChange
startCompass
stopCompass
addPhoneContact
chooseContact
offGyroscopeChange
onGyroscopeChange
startGyroscope
stopGyroscope
IBeaconInfo
getBeacons
offBeaconServiceChange
offBeaconUpdate
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
getSelectedTextRange
hideKeyboard
offKeyboardHeightChange
onKeyboardHeightChange
offMemoryWarning
onMemoryWarning
offDeviceMotionChange
onDeviceMotionChange
startDeviceMotionListening
stopDeviceMotionListening
getLocalIPAddress
getNetworkType
offNetworkStatusChange
offNetworkWeakChange
onNetworkStatusChange
onNetworkWeakChange
IsoDep
MifareClassic
MifareUltralight
NFCAdapter
Ndef
NfcA
NfcB
NfcF
NfcV
getHCEState
getNFCAdapter
offHCEMessage
onHCEMessage
sendHCEMessage
startHCE
stopHCE
makePhoneCall
scanCode
getScreenBrightness
offUserCaptureScreen
onUserCaptureScreen
setKeepScreenOn
setScreenBrightness
setVisualEffectOnCapture
vibrateLong
vibrateShort
WifiInfo
connectWifi
getConnectedWifi
getWifiList
offGetWifiList
offWifiConnected
offWifiConnectedWithPartialInfo
onGetWifiList
onWifiConnected
onWifiConnectedWithPartialInfo
setWifiList
startWifi
stopWifi
getExtConfig
getExtConfigSync
FileSystemManager
ReadResult
Stats
WriteResult
getFileInfo
getFileSystemManager
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
saveFileToDisk
App
Page
getApp
getCurrentPages
小程序 API 列表
chooseLocation
choosePoi
getLocation
offLocationChange
offLocationChangeError
onLocationChange
onLocationChangeError
openLocation
startLocationUpdate
startLocationUpdateBackground
stopLocationUpdate
AudioBuffer
AudioContext
InnerAudioContext
MediaAudioPlayer
WebAudioContext
WebAudioContextNode
createAudioContext
createInnerAudioContext
createMediaAudioPlayer
createWebAudioContext
getAvailableAudioSources
pauseVoice
playVoice
setInnerAudioOption
stopVoice
BackgroundAudioManager
getBackgroundAudioManager
getBackgroundAudioPlayerState
onBackgroundAudioPause
onBackgroundAudioPlay
onBackgroundAudioStop
pauseBackgroundAudio
playBackgroundAudio
seekBackgroundAudio
stopBackgroundAudio
CameraContext
CameraFrameListener
createCameraContext
EditorContext
chooseImage
chooseMessageFile
compressImage
editImage
getImageInfo
previewImage
previewMedia
saveImageToPhotosAlbum
LivePlayerContext
LivePusherContext
createLivePlayerContext
createLivePusherContext
MapContext
createMapContext
MediaRecorder
createMediaRecorder
RecorderManager
getRecorderManager
startRecord
stopRecord
VideoContext
chooseMedia
chooseVideo
compressVideo
createVideoContext
getVideoInfo
openVideoEditor
saveVideoToPhotosAlbum
VideoDecoder
createVideoDecoder
MediaContainer
MediaTrack
createMediaContainer
exitVoIPChat
joinVoIPChat
offVoIPChatInterrupted
offVoIPChatMembersChanged
offVoIPChatStateChanged
offVoIPVideoMembersChanged
onVoIPChatInterrupted
onVoIPChatMembersChanged
onVoIPChatSpeakersChanged
onVoIPChatStateChanged
onVoIPVideoMembersChanged
setEnable1v1Chat
subscribeVoIPVideoMembers
updateVoIPChatMuteConfig
exitMiniProgram
navigateBackMiniProgram
navigateToMiniProgram
openEmbeddedMiniProgram
DownloadTask
downloadFile
offLocalServiceDiscoveryStop
offLocalServiceFound
offLocalServiceLost
offLocalServiceResolveFail
onLocalServiceDiscoveryStop
onLocalServiceFound
onLocalServiceLost
onLocalServiceResolveFail
startLocalServiceDiscovery
stopLocalServiceDiscovery
RequestTask
addInterceptor
request
TCPSocket
createTCPSocket
UDPSocket
createUDPSocket
UploadTask
uploadFile
SocketTask
closeSocket
connectSocket
onSocketClose
onSocketError
onSocketMessage
onSocketOpen
sendSocketMessage
getAccountInfoSync
chooseAddress
authorize
authorizeForMiniProgram
addCard
卡券
openCard
getChannelsLiveInfo
getChannelsLiveNoticeInfo
openChannelsActivity
openChannelsEvent
openChannelsLive
openChannelsUserProfile
reserveChannelsLive
openCustomerServiceChat
checkIsSupportFacialRecognition
startFacialRecognitionVerify
startFacialRecognitionVerifyAndUploadVideo
addFileToFavorites
addVideoToFavorites
getGroupEnterInfo
chooseInvoice
chooseInvoiceTitle
chooseLicensePlate
checkSession
login
pluginLogin
showRedPackage
AuthSetting
SubscriptionsSetting
getSetting
openSetting
checkIsSoterEnrolledInDevice
checkIsSupportSoterAuthentication
startSoterAuthentication
requestSubscribeDeviceMessage
requestSubscribeMessage
UserInfo
getUserInfo
getUserProfile
getWeRunData
shareToWeRun
faceVerifyForPay
requestOrderPayment
requestPayment
EventChannel
navigateBack
navigateTo
reLaunch
redirectTo
switchTab
authPrivateMessage
getShareInfo
hideShareMenu
offCopyUrl
onCopyUrl
shareFileMessage
shareVideoMessage
showShareImageMenu
showShareMenu
updateShareMenu
getBackgroundFetchData
getBackgroundFetchToken
onBackgroundFetchData
setBackgroundFetchToken
clearStorage
clearStorageSync
createBufferURL
getStorage
getStorageInfo
getStorageInfoSync
getStorageSync
removeStorage
removeStorageSync
revokeBufferURL
setStorage
setStorageSync
setPageInfo
Animation
createAnimation
setBackgroundColor
setBackgroundTextStyle
nextTick
loadFontFace
disableAlertBeforeUnload
enableAlertBeforeUnload
hideLoading
hideToast
showActionSheet
showLoading
showModal
showToast
getMenuButtonBoundingClientRect
hideHomeButton
hideNavigationBarLoading
setNavigationBarColor
setNavigationBarTitle
showNavigationBarLoading
startPullDownRefresh
stopPullDownRefresh
ScrollViewContext
pageScrollTo
setTopBarText
hideTabBar
hideTabBarRedDot
removeTabBarBadge
setTabBarBadge
setTabBarItem
setTabBarStyle
showTabBar
showTabBarRedDot
offWindowResize
onWindowResize
setWindowSize
Worker
createWorker
IntersectionObserver
MediaQueryObserver
NodesRef
SelectorQuery
createIntersectionObserver
createSelectorQuery
全局配置
Babel 配置
最佳实践
Children 与组合
CLI 命令
Taro 仓库概览
沟通与反馈
组件的外部样式和全局样式
Icon
Progress
RichText
Text
Canvas
common
CustomWrapper
event
Button
CheckboxGroup
Checkbox
Editor
Form
Input
KeyboardAccessory
Label
PickerViewColumn
PickerView
Picker
RadioGroup
Radio
Slider
Switch
Textarea
Map
Audio
Camera
Image
LivePlayer
LivePusher
Video
VoipRoom
FunctionalPageNavigator
Navigator
NavigationBar
AdCustom
Ad
OfficialAccount
OpenData
其他
WebView
PageMeta
Slot
CoverImage
CoverView
MatchMedia
MovableArea
MovableView
PageContainer
ScrollView
ShareElement
SwiperItem
Swiper
View
组件库说明
Vue3 Composition APIs
更多资源
条件渲染
编译配置详情
编译配置
Context
转换成 React
使用 CSS Modules
单步调测配置
Debug 指南
与其它新型小程序框架的异同
动态 import
多端同步调试
跨平台开发
事件处理
第三方工具
目录结构
函数式组件
H5
鸿蒙 & OpenHarmony
Hooks
实现细节
微信小程序独立分包
给开发者的信
jQuery-like API
JSX 简介
列表渲染
从旧版本迁移到 Taro Next
智能提取分包依赖
常见问题
微信小程序插件开发
使用 MobX
TaroPlatformBase
编写端平台插件
Reconciler
模板
概述
小程序持续集成
插件功能
PReact
预渲染(Prerender)
项目配置
组件化 & Props
快应用端开发流程
React DevTools
React Native 端开发前注意
React Native 端开发流程
概述
使用 Redux
Refs 引用
小程序原生作用域获取
Render Props
接入统计平台
搜外七巧板在线制作小程序
设计稿及尺寸单位
项目组织
常见问题
生命周期 & State
静态资源引用
Taro DOM Reference
原生项目使用 Taro
Taro和快应用配置差异
Troubleshooting
微信小程序转 Taro
58安居客 团队
项目初始化模板
社区优质物料
基于 Taro 开发第三方多端 UI 库
Taro 版本说明
长列表渲染(虚拟列表)
Vue DevTools
Vue3
小程序云开发模板
腾讯有数无痕埋点能力
description: 本文将介绍基于 Taro 3.0 实现 H5 同构的思路与问题,以及我们尝试适配了三大移动端 UI 框架 WEUI、Ant Design Mobile、VantUI 的实验结果。
58 Anjuke Team
Taro Composition
Installation and Usage
General
API Introduction
Taro.ENV_TYPE
空标题文档
InterstitialAd
RewardedVideoAd
createInterstitialAd
createRewardedVideoAd
getOpenUserInfo
arrayBufferToBase64
base64ToArrayBuffer
canIUse
LogManager
RealtimeLogManager
getLogManager
getRealtimeLogManager
setEnableDebug
env
getSystemInfo
getSystemInfoSync
UpdateManager
getUpdateManager
offAppHide
offAppShow
offAudioInterruptionEnd
offError
offPageNotFound
onAppHide
onAppShow
onAudioInterruptionBegin
onAudioInterruptionEnd
onError
onPageNotFound
getLaunchOptionsSync
Canvas
CanvasContext
CanvasGradient
Color
Image
ImageData
OffscreenCanvas
RenderingContext
canvasGetImageData
canvasPutImageData
canvasToTempFilePath
createCanvasContext
createOffscreenCanvas
DB
cloud
offAccelerometerChange
onAccelerometerChange
startAccelerometer
stopAccelerometer
getBatteryInfo
getBatteryInfoSync
closeBLEConnection
createBLEConnection
getBLEDeviceCharacteristics
getBLEDeviceServices
notifyBLECharacteristicValueChange
onBLECharacteristicValueChange
onBLEConnectionStateChange
readBLECharacteristicValue
writeBLECharacteristicValue
closeBluetoothAdapter
getBluetoothAdapterState
getBluetoothDevices
getConnectedBluetoothDevices
onBluetoothDeviceFound
openBluetoothAdapter
getClipboardData
setClipboardData
offCompassChange
onCompassChange
startCompass
stopCompass
addPhoneContact
offGyroscopeChange
onGyroscopeChange
startGyroscope
stopGyroscope
IBeaconInfo
getBeacons
offBeaconServiceChange
offBeaconUpdate
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
offDeviceMotionChange
onDeviceMotionChange
startDeviceMotionListening
stopDeviceMotionListening
getNetworkType
offNetworkStatusChange
onNetworkStatusChange
getHCEState
offHCEMessage
onHCEMessage
sendHCEMessage
startHCE
stopHCE
onMemoryWarning
makePhoneCall
scanCode
getScreenBrightness
offUserCaptureScreen
onUserCaptureScreen
setKeepScreenOn
setScreenBrightness
vibrateLong
vibrateShort
WifiInfo
connectWifi
getConnectedWifi
getWifiList
offGetWifiList
offWifiConnected
onGetWifiList
onWifiConnected
setWifiList
startWifi
stopWifi
getExtConfig
getExtConfigSync
FileSystemManager
Stats
getFileInfo
getFileSystemManager
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
App
Page
getApp
getCurrentPages
chooseLocation
getLocation
offLocationChange
onLocationChange
openLocation
startLocationUpdate
startLocationUpdateBackground
stopLocationUpdate
AudioContext
InnerAudioContext
createAudioContext
createInnerAudioContext
getAvailableAudioSources
pauseVoice
playVoice
setInnerAudioOption
stopVoice
BackgroundAudioManager
onBackgroundAudioPause
onBackgroundAudioPlay
onBackgroundAudioStop
pauseBackgroundAudio
playBackgroundAudio
seekBackgroundAudio
stopBackgroundAudio
CameraContext
CameraFrameListener
createCameraContext
EditorContext
chooseImage
chooseMedia
chooseMessageFile
compressImage
getImageInfo
previewImage
saveImageToPhotosAlbum
LivePlayerContext
LivePusherContext
createLivePlayerContext
createLivePusherContext
MapContext
createMapContext
RecorderManager
getRecorderManager
startRecord
stopRecord
VideoContext
chooseVideo
createVideoContext
saveVideoToPhotosAlbum
MediaContainer
MediaTrack
createMediaContainer
DownloadTask
downloadFile
offLocalServiceDiscoveryStop
offLocalServiceFound
offLocalServiceLost
offLocalServiceResolveFail
onLocalServiceDiscoveryStop
onLocalServiceFound
onLocalServiceLost
onLocalServiceResolveFail
startLocalServiceDiscovery
stopLocalServiceDiscovery
RequestTask
addInterceptor
request
UDPSocket
createUDPSocket
UploadTask
uploadFile
SocketTask
closeSocket
connectSocket
onSocketClose
onSocketError
onSocketMessage
onSocketOpen
sendSocketMessage
getAccountInfoSync
chooseAddress
authorize
addCard
卡券
openCard
reportAnalytics
startFacialRecognitionVerify
chooseInvoice
chooseInvoiceTitle
checkSession
login
navigateBackMiniProgram
navigateToMiniProgram
faceVerifyForPay
requestPayment
reportMonitor
AuthSetting
getSetting
openSetting
checkIsSoterEnrolledInDevice
startSoterAuthentication
UserInfo
getUserInfo
getUserProfile
getWeRunData
EventChannel
navigateBack
navigateTo
reLaunch
redirectTo
switchTab
getShareInfo
hideShareMenu
showShareMenu
updateShareMenu
clearStorage
clearStorageSync
getStorage
getStorageInfo
getStorageInfoSync
getStorageSync
removeStorage
removeStorageSync
setStorage
setStorageSync
setPageInfo
Animation
createAnimation
setBackgroundColor
setBackgroundTextStyle
nextTick
loadFontFace
hideLoading
hideToast
showActionSheet
showLoading
showModal
showToast
getSelectedTextRange
hideKeyboard
offKeyboardHeightChange
onKeyboardHeightChange
getMenuButtonBoundingClientRect
hideHomeButton
hideNavigationBarLoading
setNavigationBarColor
setNavigationBarTitle
showNavigationBarLoading
startPullDownRefresh
stopPullDownRefresh
pageScrollTo
setTopBarText
hideTabBar
hideTabBarRedDot
removeTabBarBadge
setTabBarBadge
setTabBarItem
setTabBarStyle
showTabBar
showTabBarRedDot
offWindowResize
onWindowResize
Worker
createWorker
IntersectionObserver
NodesRef
SelectorQuery
createIntersectionObserver
createSelectorQuery
Global Configuration
Babel Configuration
CLI Command
Taro Repository Overview
Communication and Feedback
Icon
Progress
RichText
Text
Canvas
Button
CheckboxGroup
Checkbox
Editor
Form
Input
Label
PickerViewColumn
PickerView
Picker
RadioGroup
Radio
Slider
Switch
Textarea
Map
Audio
Camera
Image
LivePlayer
LivePusher
Video
FunctionalPageNavigator
Navigator
Ad
OfficialAccount
OpenData
others
WebView
CoverImage
CoverView
MatchMedia
MovableArea
MovableView
ScrollView
SwiperItem
Swiper
View
Description
More Resources
Compile configuration Details
Compile Configuration
Convert to React
Use CSS Modules
一、Development Environment Setup
Multi-Platform Synchronized Debugging
Cross-platform Development
Directory Structure
H5
API
Implementation Details
Join The Community
jQuery-like API
Mini Program Plugin Development
Nerv
Page Configuration
TaroPlatformBase
Write Platform plugins
Reconciler
Template
Overview
Plugin
Prerender
Project Configuration
React DevTools
React Native Development Considerations
React Native Development Process
Overview
React
Use Redux
Access to Statistical Platforms
Routing Features
SeoWhy Tangram Create Mini Program
Design and Dimension unit
Static resource references
Native Mini Program Project Using Taro
Troubleshooting
WeChat Mini Program Convert to Taro
Taro Team
Project Initialization Template
Community Quality Material
Taro Release Notes
Virtual List
Vue DevTools
Vue
Vue3
Mini Program Cloud Development Template
Tencent Youshu seamless burial point
58 Anjuke Team
Taro Composition
Installation and Usage
General
API Introduction
Taro.ENV_TYPE
空标题文档
InterstitialAd
RewardedVideoAd
createInterstitialAd
createRewardedVideoAd
getOpenUserInfo
arrayBufferToBase64
base64ToArrayBuffer
canIUse
LogManager
RealtimeLogManager
getLogManager
getRealtimeLogManager
setEnableDebug
env
getSystemInfo
getSystemInfoSync
UpdateManager
getUpdateManager
offAppHide
offAppShow
offError
offPageNotFound
onAppHide
onAppShow
onError
onPageNotFound
Canvas
CanvasContext
CanvasGradient
Color
Image
ImageData
OffscreenCanvas
RenderingContext
canvasGetImageData
canvasPutImageData
canvasToTempFilePath
createCanvasContext
createOffscreenCanvas
DB
cloud
startAccelerometer
stopAccelerometer
getBatteryInfo
getBatteryInfoSync
closeBLEConnection
createBLEConnection
getBLEDeviceCharacteristics
getBLEDeviceServices
onBLECharacteristicValueChange
onBLEConnectionStateChange
readBLECharacteristicValue
writeBLECharacteristicValue
closeBluetoothAdapter
getBluetoothAdapterState
getBluetoothDevices
onBluetoothDeviceFound
openBluetoothAdapter
getClipboardData
setClipboardData
offCompassChange
onCompassChange
startCompass
stopCompass
addPhoneContact
offGyroscopeChange
onGyroscopeChange
startGyroscope
stopGyroscope
IBeaconInfo
getBeacons
offBeaconServiceChange
offBeaconUpdate
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
offDeviceMotionChange
onDeviceMotionChange
startDeviceMotionListening
stopDeviceMotionListening
getNetworkType
offNetworkStatusChange
onNetworkStatusChange
getHCEState
offHCEMessage
onHCEMessage
sendHCEMessage
startHCE
stopHCE
onMemoryWarning
makePhoneCall
scanCode
getScreenBrightness
offUserCaptureScreen
onUserCaptureScreen
setKeepScreenOn
setScreenBrightness
vibrateLong
vibrateShort
WifiInfo
connectWifi
getConnectedWifi
getWifiList
offGetWifiList
offWifiConnected
onGetWifiList
onWifiConnected
setWifiList
startWifi
stopWifi
getExtConfig
getExtConfigSync
FileSystemManager
Stats
getFileInfo
getFileSystemManager
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
App
Page
getApp
getCurrentPages
chooseLocation
getLocation
offLocationChange
onLocationChange
openLocation
startLocationUpdate
startLocationUpdateBackground
stopLocationUpdate
AudioContext
InnerAudioContext
createAudioContext
createInnerAudioContext
getAvailableAudioSources
pauseVoice
playVoice
setInnerAudioOption
stopVoice
CameraContext
CameraFrameListener
createCameraContext
EditorContext
chooseImage
chooseMedia
chooseMessageFile
compressImage
getImageInfo
previewImage
saveImageToPhotosAlbum
LivePlayerContext
LivePusherContext
createLivePlayerContext
createLivePusherContext
MapContext
createMapContext
RecorderManager
getRecorderManager
startRecord
stopRecord
VideoContext
chooseVideo
createVideoContext
saveVideoToPhotosAlbum
MediaContainer
MediaTrack
DownloadTask
downloadFile
offLocalServiceDiscoveryStop
offLocalServiceFound
offLocalServiceLost
offLocalServiceResolveFail
onLocalServiceDiscoveryStop
onLocalServiceFound
onLocalServiceLost
onLocalServiceResolveFail
startLocalServiceDiscovery
stopLocalServiceDiscovery
RequestTask
addInterceptor
request
UDPSocket
createUDPSocket
UploadTask
uploadFile
SocketTask
closeSocket
connectSocket
onSocketClose
onSocketError
onSocketMessage
onSocketOpen
sendSocketMessage
getAccountInfoSync
chooseAddress
authorize
addCard
卡券
openCard
reportAnalytics
chooseInvoice
chooseInvoiceTitle
checkSession
login
navigateBackMiniProgram
navigateToMiniProgram
faceVerifyForPay
requestPayment
reportMonitor
AuthSetting
getSetting
openSetting
startSoterAuthentication
UserInfo
getUserInfo
getUserProfile
getWeRunData
EventChannel
navigateBack
navigateTo
reLaunch
redirectTo
switchTab
getShareInfo
hideShareMenu
showShareMenu
updateShareMenu
clearStorage
clearStorageSync
getStorage
getStorageInfo
getStorageInfoSync
getStorageSync
removeStorage
removeStorageSync
setStorage
setStorageSync
setPageInfo
Animation
createAnimation
setBackgroundColor
setBackgroundTextStyle
nextTick
loadFontFace
hideLoading
hideToast
showActionSheet
showLoading
showModal
showToast
getSelectedTextRange
hideKeyboard
offKeyboardHeightChange
onKeyboardHeightChange
getMenuButtonBoundingClientRect
hideHomeButton
setNavigationBarColor
setNavigationBarTitle
startPullDownRefresh
stopPullDownRefresh
pageScrollTo
setTopBarText
hideTabBar
hideTabBarRedDot
removeTabBarBadge
setTabBarBadge
setTabBarItem
setTabBarStyle
showTabBar
showTabBarRedDot
offWindowResize
onWindowResize
Worker
createWorker
IntersectionObserver
NodesRef
SelectorQuery
createIntersectionObserver
createSelectorQuery
Global Configuration
Babel Configuration
CLI Command
Taro Repository Overview
Communication and Feedback
Icon
Progress
RichText
Text
Canvas
Button
CheckboxGroup
Checkbox
Editor
Form
Input
Label
PickerViewColumn
PickerView
Picker
RadioGroup
Radio
Slider
Switch
Textarea
Map
Audio
Camera
Image
LivePlayer
LivePusher
Video
FunctionalPageNavigator
Navigator
Ad
OfficialAccount
OpenData
others
WebView
CoverImage
CoverView
MatchMedia
MovableArea
MovableView
ScrollView
SwiperItem
Swiper
View
Description
More Resources
Compile configuration Details
Compile Configuration
Convert to React
Use CSS Modules
一、Development Environment Setup
Multi-Platform Synchronized Debugging
Cross-platform Development
Directory Structure
H5
API
Implementation Details
Join The Community
jQuery-like API
Mini Program Plugin Development
Nerv
Page Configuration
TaroPlatformBase
Write Platform plugins
Reconciler
Template
Overview
Plugin
Prerender
Project Configuration
React DevTools
React Native Development Considerations
React Native Development Process
Overview
React
Use Redux
Access to Statistical Platforms
Routing Features
SeoWhy Tangram Create Mini Program
Design and Dimension unit
Static resource references
Native Mini Program Project Using Taro
Troubleshooting
WeChat Mini Program Convert to Taro
Taro Team
Project Initialization Template
Community Quality Material
Taro Release Notes
Virtual List
Vue DevTools
Vue
Vue3
Mini Program Cloud Development Template
Tencent Youshu seamless burial point
Taro 组成
安装及使用
Taro 介绍
空标题文档
Taro.ENV_TYPE
空标题文档
组件生命周期
参数
参数
参数
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
示例代码
getScreenBrightness
setKeepScreenOn
setScreenBrightness
getClipBoardData
setClipBoardData
onCompassChange
startCompass
stopCompass
addPhoneContact
参数
参数
参数
getBeacons
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
getNetworkType
onNetworkStatusChange
getHCEState
onHCEMessage
sendHCEMessage
startHCE
stopHCE
makePhoneCall
scanCode
onUserCaptureScreen
canIUse
getSystemInfo
getSystemInfoSync
vibrateLong
vibrateShort
connectWifi
getConnectedWifi
getWifiList
onGetWifiList
onWifiConnected
setWifiList
startWifi
stopWifi
arrayBufferToBase64
base64ToArrayBuffer
getFileInfo
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
createAnimation
参数
参数
参数
createCanvasContext
createContext
drawCanvas
hideLoading
hideToast
showActionSheet
showLoading
showModal
showToast
getCurrentPages
navigateBack
navigateTo
reLaunch
redirectTo
switchTab
hideNavigationBarLoading
setNavigationBarColor
setNavigationBarTitle
showNavigationBarLoading
pageScrollTo
startPullDownRefresh
stopPullDownRefresh
hideTabBar
hideTabBarRedDot
removeTabBarBadge
setTabBarBadge
setTabBarItem
setTabBarStyle
showTabBar
showTabBarRedDot
setTopBarText
参数
wx.onWindowResize(callback)
createIntersectionObserver
createSelectorQuery
nodesRef.boundingClientRect
nodesRef.fields
nodesRef.scrollOffset
selectorQuery.exec
selectorQuery.in
selectorQuery.select
selectorQuery.selectAll
selectorQuery.selectViewport
使用前注意
getLocation
openLocation
示例代码
返回值
pauseVoice
playVoice
stopVoice
示例代码
getBackgroundAudioPlayerState
onBackgroundAudioPause
onBackgroundAudioPlay
onBackgroundAudioStop
pauseBackgroundAudio
playBackgroundAudio
seekBackgroundAudio
stopBackgroundAudio
createCameraContext
chooseImage
getImageInfo
previewImage
saveImageToPhotosAlbum
createMapContext
录音管理
录音管理
chooseVideo
参数
saveVideoToPhotosAlbum
downloadFile
uploadFile
addInterceptor
request
SocketTask
closeSocket
connectSocket
onSocketClose
onSocketError
onSocketMessage
onSocketOpen
sendSocketMessage
chooseAddress
authorize
checkIsSoterEnrolledInDevice
checkIsSupportSoterAuthentication
startSoterAuthentication
addCard
卡券
openCard
chooseInvoice
chooseInvoiceTitle
checkSession
login
faceVerifyForPay
requestPayment
navigateBackMiniProgram
navigateToMiniProgram
getSetting
openSetting
getUserInfo
getWeRunData
clearStorage
clearStorageSync
getStorage
getStorageInfo
getStorageInfoSync
getStorageSync
removeStorage
removeStorageSync
setStorage
setStorageSync
getUpdateManager
更新管理
异步编程
各端开发前注意
最佳实践
Children 与组合
组件的外部样式和全局样式
Icon
Progress
RichText
Text
Canvas
Button
Checkbox
Form
Input
Label
PickerView
Picker
Radio
Slider
Switch
Textarea
Map
Audio
Camera
Image
LivePlayer
LivePusher
Video
Navigator
Ad
OfficialAccount
OpenData
其他
WebView
CoverView
MovableView
ScrollView
Swiper
View
组件库说明
更多资源
条件渲染
编译配置详情
编译配置
Context
使用 CSS-in-JS
使用 CSS Modules
Debug 指南
与其它新型小程序框架的异同
多端同步调试
跨平台开发
事件处理
函数式组件
Hooks
渲染 HTML
Taro 代码与小程序代码混写
加入社区共建
JSX 简介
列表渲染
从旧版本迁移到 Taro Next
使用小程序原生第三方组件和插件
小程序插件开发
使用 MobX
Nerv
性能优化实践
预渲染(Prerender)
项目配置
组件化 & Props
快应用端开发流程
React Native 端开发流程
React
使用 Redux
Refs 引用
小程序原生作用域获取
Render Props
接入统计平台
路由功能
搜外七巧板
设计稿及尺寸单位
Taro 规范
常见问题
生命周期 & State
静态资源引用
Taro和快应用配置差异
微信小程序转 Taro
Taro 团队
项目模板
框架
基于 Taro 开发第三方多端 UI 库
长列表渲染(虚拟列表)
Vue
小程序云开发模板
Taro 组成
安装及使用
Taro 介绍
General
空标题文档
Taro.ENV_TYPE
空标题文档
组件生命周期
InterstitialAd
RewardedVideoAd
createInterstitialAd
createRewardedVideoAd
getOpenUserInfo
arrayBufferToBase64
base64ToArrayBuffer
canIUse
LogManager
RealtimeLogManager
getLogManager
getRealtimeLogManager
setEnableDebug
env
getSystemInfo
getSystemInfoSync
UpdateManager
getUpdateManager
offAppHide
offAppShow
offAudioInterruptionBegin
offAudioInterruptionEnd
offError
offPageNotFound
onAppHide
onAppShow
onAudioInterruptionBegin
onAudioInterruptionEnd
onError
onPageNotFound
getLaunchOptionsSync
Canvas
CanvasContext
CanvasGradient
Color
Image
ImageData
OffscreenCanvas
RenderingContext
canvasGetImageData
canvasPutImageData
canvasToTempFilePath
createCanvasContext
createContext
createOffscreenCanvas
drawCanvas
DB
cloud
offAccelerometerChange
onAccelerometerChange
startAccelerometer
stopAccelerometer
getBatteryInfo
getBatteryInfoSync
closeBLEConnection
createBLEConnection
getBLEDeviceCharacteristics
getBLEDeviceServices
notifyBLECharacteristicValueChange
onBLECharacteristicValueChange
onBLEConnectionStateChange
readBLECharacteristicValue
writeBLECharacteristicValue
closeBluetoothAdapter
getBluetoothAdapterState
getBluetoothDevices
getConnectedBluetoothDevices
onBluetoothAdapterStateChange
onBluetoothDeviceFound
openBluetoothAdapter
startBluetoothDevicesDiscovery
stopBluetoothDevicesDiscovery
getClipboardData
setClipboardData
offCompassChange
onCompassChange
startCompass
stopCompass
addPhoneContact
offGyroscopeChange
onGyroscopeChange
startGyroscope
stopGyroscope
IBeaconInfo
getBeacons
offBeaconServiceChange
offBeaconUpdate
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
offDeviceMotionChange
onDeviceMotionChange
startDeviceMotionListening
stopDeviceMotionListening
getNetworkType
offNetworkStatusChange
onNetworkStatusChange
getHCEState
offHCEMessage
onHCEMessage
sendHCEMessage
startHCE
stopHCE
onMemoryWarning
makePhoneCall
scanCode
getScreenBrightness
offUserCaptureScreen
onUserCaptureScreen
setKeepScreenOn
setScreenBrightness
vibrateLong
vibrateShort
WifiInfo
connectWifi
getConnectedWifi
getWifiList
offGetWifiList
offWifiConnected
onGetWifiList
onWifiConnected
setWifiList
startWifi
stopWifi
getExtConfig
getExtConfigSync
FileSystemManager
Stats
getFileInfo
getFileSystemManager
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
App
Page
getApp
getCurrentPages
chooseLocation
getLocation
offLocationChange
onLocationChange
openLocation
startLocationUpdate
startLocationUpdateBackground
stopLocationUpdate
AudioContext
InnerAudioContext
createAudioContext
createInnerAudioContext
getAvailableAudioSources
pauseVoice
playVoice
setInnerAudioOption
stopVoice
BackgroundAudioManager
getBackgroundAudioManager
getBackgroundAudioPlayerState
onBackgroundAudioPause
onBackgroundAudioPlay
onBackgroundAudioStop
pauseBackgroundAudio
playBackgroundAudio
seekBackgroundAudio
stopBackgroundAudio
CameraContext
CameraFrameListener
createCameraContext
EditorContext
chooseImage
chooseMedia
chooseMessageFile
compressImage
getImageInfo
previewImage
saveImageToPhotosAlbum
LivePlayerContext
LivePusherContext
createLivePlayerContext
createLivePusherContext
MapContext
createMapContext
RecorderManager
getRecorderManager
startRecord
stopRecord
VideoContext
chooseVideo
createVideoContext
saveVideoToPhotosAlbum
MediaContainer
MediaTrack
createMediaContainer
DownloadTask
downloadFile
offLocalServiceDiscoveryStop
offLocalServiceFound
offLocalServiceLost
offLocalServiceResolveFail
onLocalServiceDiscoveryStop
onLocalServiceFound
onLocalServiceLost
onLocalServiceResolveFail
startLocalServiceDiscovery
stopLocalServiceDiscovery
RequestTask
addInterceptor
request
UDPSocket
createUDPSocket
UploadTask
uploadFile
SocketTask
closeSocket
connectSocket
onSocketClose
onSocketError
onSocketMessage
onSocketOpen
sendSocketMessage
getAccountInfoSync
chooseAddress
authorize
addCard
卡券
openCard
reportAnalytics
checkIsSupportFacialRecognition
startFacialRecognitionVerify
startFacialRecognitionVerifyAndUploadVideo
chooseInvoice
chooseInvoiceTitle
checkSession
login
navigateBackMiniProgram
navigateToMiniProgram
faceVerifyForPay
requestPayment
reportMonitor
AuthSetting
getSetting
openSetting
checkIsSoterEnrolledInDevice
checkIsSupportSoterAuthentication
startSoterAuthentication
requestSubscribeMessage
UserInfo
getUserInfo
getUserProfile
getWeRunData
EventChannel
navigateBack
navigateTo
reLaunch
redirectTo
switchTab
getShareInfo
hideShareMenu
showShareMenu
updateShareMenu
getBackgroundFetchData
getBackgroundFetchToken
onBackgroundFetchData
setBackgroundFetchToken
clearStorage
clearStorageSync
getStorage
getStorageInfo
getStorageInfoSync
getStorageSync
removeStorage
removeStorageSync
setStorage
setStorageSync
setPageInfo
Animation
createAnimation
setBackgroundColor
setBackgroundTextStyle
nextTick
loadFontFace
hideLoading
hideToast
showActionSheet
showLoading
showModal
showToast
getSelectedTextRange
hideKeyboard
onKeyboardHeightChange
getMenuButtonBoundingClientRect
hideHomeButton
hideNavigationBarLoading
setNavigationBarColor
setNavigationBarTitle
showNavigationBarLoading
startPullDownRefresh
stopPullDownRefresh
pageScrollTo
setTopBarText
hideTabBar
hideTabBarRedDot
removeTabBarBadge
setTabBarBadge
setTabBarItem
setTabBarStyle
showTabBar
showTabBarRedDot
offWindowResize
onWindowResize
Worker
createWorker
IntersectionObserver
NodesRef
SelectorQuery
createIntersectionObserver
createSelectorQuery
异步编程
各端开发前注意
最佳实践
Children 与组合
组件的外部样式和全局样式
Icon
Progress
RichText
Text
Canvas
common
Button
CheckboxGroup
Checkbox
Editor
Form
Input
Label
PickerViewColumn
PickerView
Picker
RadioGroup
Radio
Slider
Switch
Textarea
Map
Audio
Camera
Image
LivePlayer
LivePusher
Video
FunctionalPageNavigator
Navigator
NavigationBar
Ad
OfficialAccount
OpenData
其他
WebView
PageMeta
CoverImage
CoverView
MovableArea
MovableView
ScrollView
SwiperItem
Swiper
View
组件库说明
更多资源
条件渲染
编译配置详情
编译配置
Context
使用 CSS Modules
单步调测配置
Debug 指南
多端同步调试
跨平台开发
事件处理
函数式组件
Hooks
Taro 代码与小程序代码混写
加入社区共建
加入我们
JSX 简介
社区贡献的学习教程
列表渲染
迁移至 Taro 2.x
使用小程序原生第三方组件和插件
小程序插件开发
使用 MobX
性能优化实践
插件功能
项目配置
组件化 & Props
快应用端开发流程
React Native 端开发流程
使用 Redux
Refs 引用
小程序原生作用域获取
Render Props
接入统计平台
路由功能
JS 代码压缩
搜外七巧板在线制作小程序
设计稿及尺寸单位
Taro 规范
常见问题
生命周期 & State
静态资源引用
CSS 预处理器
Taro和快应用配置差异
微信小程序转 Taro
Taro 团队
项目模板
框架
基于 Taro 开发第三方多端 UI 库
小程序云开发模板
腾讯有数无痕埋点能力
贡献指南
安装及使用
General
空标题文档
Taro.ENV_TYPE
空标题文档
组件生命周期
InterstitialAd
RewardedVideoAd
createInterstitialAd
createRewardedVideoAd
faceDetect
initFaceDetect
stopFaceDetect
VKAnchor
VKCamera
VKFrame
VKSession
createVKSession
isVKSupport
getOpenUserInfo
arrayBufferToBase64
base64ToArrayBuffer
canIUse
canIUseWebp
UserCryptoManager
getUserCryptoManager
LogManager
RealtimeLogManager
RealtimeTagLogManager
console
getLogManager
getRealtimeLogManager
setEnableDebug
env
env
EntryList
Performance
PerformanceEntry
PerformanceObserver
getPerformance
reportPerformance
preload
getAppAuthorizeSetting
getAppBaseInfo
getDeviceInfo
getSystemInfo
getSystemInfoAsync
getSystemInfoSync
getSystemSetting
getWindowInfo
openAppAuthorizeSetting
openSystemBluetoothSetting
UpdateManager
getUpdateManager
updateWeChatApp
offAppHide
offAppShow
offAudioInterruptionBegin
offAudioInterruptionEnd
offError
offPageNotFound
offThemeChange
offUnhandledRejection
onAppHide
onAppShow
onAudioInterruptionBegin
onAudioInterruptionEnd
onError
onPageNotFound
onThemeChange
onUnhandledRejection
getEnterOptionsSync
getLaunchOptionsSync
Canvas
CanvasContext
CanvasGradient
Color
Image
ImageData
OffscreenCanvas
Path2D
RenderingContext
canvasGetImageData
canvasPutImageData
canvasToTempFilePath
createCanvasContext
createContext
createOffscreenCanvas
drawCanvas
DB
Cloud
getExptInfoSync
reportAnalytics
reportEvent
reportMonitor
offAccelerometerChange
onAccelerometerChange
startAccelerometer
stopAccelerometer
checkIsOpenAccessibility
getBatteryInfo
getBatteryInfoSync
closeBluetoothAdapter
getBluetoothAdapterState
getBluetoothDevices
getConnectedBluetoothDevices
isBluetoothDevicePaired
makeBluetoothPair
offBluetoothAdapterStateChange
offBluetoothDeviceFound
onBluetoothAdapterStateChange
onBluetoothDeviceFound
openBluetoothAdapter
startBluetoothDevicesDiscovery
stopBluetoothDevicesDiscovery
closeBLEConnection
createBLEConnection
getBLEDeviceCharacteristics
getBLEDeviceRSSI
getBLEDeviceServices
getBLEMTU
notifyBLECharacteristicValueChange
offBLECharacteristicValueChange
offBLEConnectionStateChange
offBLEMTUChange
onBLECharacteristicValueChange
onBLEConnectionStateChange
onBLEMTUChange
readBLECharacteristicValue
setBLEMTU
writeBLECharacteristicValue
BLEPeripheralServer
createBLEPeripheralServer
onBLEPeripheralConnectionStateChanged
addPhoneCalendar
addPhoneRepeatCalendar
getClipboardData
setClipboardData
offCompassChange
onCompassChange
startCompass
stopCompass
addPhoneContact
chooseContact
offGyroscopeChange
onGyroscopeChange
startGyroscope
stopGyroscope
IBeaconInfo
getBeacons
offBeaconServiceChange
offBeaconUpdate
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
getSelectedTextRange
hideKeyboard
offKeyboardHeightChange
onKeyboardHeightChange
offMemoryWarning
onMemoryWarning
offDeviceMotionChange
onDeviceMotionChange
startDeviceMotionListening
stopDeviceMotionListening
getLocalIPAddress
getNetworkType
offNetworkStatusChange
offNetworkWeakChange
onNetworkStatusChange
onNetworkWeakChange
IsoDep
MifareClassic
MifareUltralight
NFCAdapter
Ndef
NfcA
NfcB
NfcF
NfcV
getHCEState
getNFCAdapter
offHCEMessage
onHCEMessage
sendHCEMessage
startHCE
stopHCE
makePhoneCall
scanCode
getScreenBrightness
offUserCaptureScreen
onUserCaptureScreen
setKeepScreenOn
setScreenBrightness
setVisualEffectOnCapture
vibrateLong
vibrateShort
WifiInfo
connectWifi
getConnectedWifi
getWifiList
offGetWifiList
offWifiConnected
offWifiConnectedWithPartialInfo
onGetWifiList
onWifiConnected
onWifiConnectedWithPartialInfo
setWifiList
startWifi
stopWifi
getExtConfig
getExtConfigSync
FileSystemManager
ReadResult
Stats
WriteResult
getFileInfo
getFileSystemManager
getSavedFileInfo
getSavedFileList
openDocument
removeSavedFile
saveFile
saveFileToDisk
App
Page
getApp
getCurrentPages
小程序 API 列表
chooseLocation
choosePoi
getLocation
offLocationChange
offLocationChangeError
onLocationChange
onLocationChangeError
openLocation
startLocationUpdate
startLocationUpdateBackground
stopLocationUpdate
AudioBuffer
AudioContext
InnerAudioContext
MediaAudioPlayer
WebAudioContext
WebAudioContextNode
createAudioContext
createInnerAudioContext
createMediaAudioPlayer
createWebAudioContext
getAvailableAudioSources
pauseVoice
playVoice
setInnerAudioOption
stopVoice
BackgroundAudioManager
getBackgroundAudioManager
getBackgroundAudioPlayerState
onBackgroundAudioPause
onBackgroundAudioPlay
onBackgroundAudioStop
pauseBackgroundAudio
playBackgroundAudio
seekBackgroundAudio
stopBackgroundAudio
CameraContext
CameraFrameListener
createCameraContext
EditorContext
chooseImage
chooseMessageFile
compressImage
editImage
getImageInfo
previewImage
previewMedia
saveImageToPhotosAlbum
LivePlayerContext
LivePusherContext
createLivePlayerContext
createLivePusherContext
MapContext
createMapContext
MediaRecorder
createMediaRecorder
RecorderManager
getRecorderManager
startRecord
stopRecord
VideoContext
chooseMedia
chooseVideo
compressVideo
createVideoContext
getVideoInfo
openVideoEditor
saveVideoToPhotosAlbum
VideoDecoder
createVideoDecoder
MediaContainer
MediaTrack
createMediaContainer
exitVoIPChat
joinVoIPChat
offVoIPChatInterrupted
offVoIPChatMembersChanged
offVoIPChatStateChanged
offVoIPVideoMembersChanged
onVoIPChatInterrupted
onVoIPChatMembersChanged
onVoIPChatSpeakersChanged
onVoIPChatStateChanged
onVoIPVideoMembersChanged
setEnable1v1Chat
subscribeVoIPVideoMembers
updateVoIPChatMuteConfig
exitMiniProgram
navigateBackMiniProgram
navigateToMiniProgram
openEmbeddedMiniProgram
DownloadTask
downloadFile
offLocalServiceDiscoveryStop
offLocalServiceFound
offLocalServiceLost
offLocalServiceResolveFail
onLocalServiceDiscoveryStop
onLocalServiceFound
onLocalServiceLost
onLocalServiceResolveFail
startLocalServiceDiscovery
stopLocalServiceDiscovery
RequestTask
addInterceptor
request
TCPSocket
createTCPSocket
UDPSocket
createUDPSocket
UploadTask
uploadFile
SocketTask
closeSocket
connectSocket
onSocketClose
onSocketError
onSocketMessage
onSocketOpen
sendSocketMessage
getAccountInfoSync
chooseAddress
authorize
authorizeForMiniProgram
addCard
卡券
openCard
getChannelsLiveInfo
getChannelsLiveNoticeInfo
openChannelsActivity
openChannelsEvent
openChannelsLive
openChannelsUserProfile
reserveChannelsLive
openCustomerServiceChat
checkIsSupportFacialRecognition
startFacialRecognitionVerify
startFacialRecognitionVerifyAndUploadVideo
addFileToFavorites
addVideoToFavorites
getGroupEnterInfo
chooseInvoice
chooseInvoiceTitle
chooseLicensePlate
checkSession
login
pluginLogin
showRedPackage
AuthSetting
SubscriptionsSetting
getSetting
openSetting
checkIsSoterEnrolledInDevice
checkIsSupportSoterAuthentication
startSoterAuthentication
requestSubscribeDeviceMessage
requestSubscribeMessage
UserInfo
getUserInfo
getUserProfile
getWeRunData
shareToWeRun
faceVerifyForPay
requestOrderPayment
requestPayment
EventChannel
navigateBack
navigateTo
reLaunch
redirectTo
switchTab
authPrivateMessage
getShareInfo
hideShareMenu
offCopyUrl
onCopyUrl
shareFileMessage
shareVideoMessage
showShareImageMenu
showShareMenu
updateShareMenu
getBackgroundFetchData
getBackgroundFetchToken
onBackgroundFetchData
setBackgroundFetchToken
clearStorage
clearStorageSync
createBufferURL
getStorage
getStorageInfo
getStorageInfoSync
getStorageSync
removeStorage
removeStorageSync
revokeBufferURL
setStorage
setStorageSync
setPageInfo
Animation
createAnimation
setBackgroundColor
setBackgroundTextStyle
nextTick
loadFontFace
disableAlertBeforeUnload
enableAlertBeforeUnload
hideLoading
hideToast
showActionSheet
showLoading
showModal
showToast
getMenuButtonBoundingClientRect
hideHomeButton
hideNavigationBarLoading
setNavigationBarColor
setNavigationBarTitle
showNavigationBarLoading
startPullDownRefresh
stopPullDownRefresh
ScrollViewContext
pageScrollTo
setTopBarText
hideTabBar
hideTabBarRedDot
removeTabBarBadge
setTabBarBadge
setTabBarItem
setTabBarStyle
showTabBar
showTabBarRedDot
offWindowResize
onWindowResize
setWindowSize
Worker
createWorker
IntersectionObserver
MediaQueryObserver
NodesRef
SelectorQuery
createIntersectionObserver
createSelectorQuery
全局配置
Babel 配置
最佳实践
Children 与组合
CLI 命令
Taro 仓库概览
沟通与反馈
组件的外部样式和全局样式
Icon
Progress
RichText
Text
Canvas
common
CustomWrapper
event
Button
CheckboxGroup
Checkbox
Editor
Form
Input
KeyboardAccessory
Label
PickerViewColumn
PickerView
Picker
RadioGroup
Radio
Slider
Switch
Textarea
Map
Audio
Camera
Image
LivePlayer
LivePusher
Video
VoipRoom
FunctionalPageNavigator
Navigator
NavigationBar
AdCustom
Ad
OfficialAccount
OpenData
其他
WebView
PageMeta
Slot
CoverImage
CoverView
MatchMedia
MovableArea
MovableView
PageContainer
ScrollView
ShareElement
SwiperItem
Swiper
View
组件库说明
Vue3 Composition APIs
更多资源
条件渲染
编译配置详情
编译配置
Context
转换成 React
使用 CSS Modules
单步调测配置
Debug 指南
与其它新型小程序框架的异同
动态 import
多端同步调试
跨平台开发
事件处理
第三方工具
目录结构
函数式组件
H5
鸿蒙 & OpenHarmony
Hooks
实现细节
微信小程序独立分包
给开发者的信
jQuery-like API
JSX 简介
列表渲染
从旧版本迁移到 Taro Next
智能提取分包依赖
常见问题
微信小程序插件开发
使用 MobX
TaroPlatformBase
编写端平台插件
Reconciler
模板
概述
小程序持续集成
插件功能
PReact
预渲染(Prerender)
项目配置
组件化 & Props
快应用端开发流程
React DevTools
React Native 端开发前注意
React Native 端开发流程
概述
使用 Redux
Refs 引用
小程序原生作用域获取
Render Props
接入统计平台
搜外七巧板在线制作小程序
设计稿及尺寸单位
项目组织
常见问题
生命周期 & State
静态资源引用
Taro DOM Reference
原生项目使用 Taro
Taro和快应用配置差异
Troubleshooting
微信小程序转 Taro
58安居客 团队
项目初始化模板
社区优质物料
基于 Taro 开发第三方多端 UI 库
Taro 版本说明
长列表渲染(虚拟列表)
Vue DevTools
Vue3
小程序云开发模板
腾讯有数无痕埋点能力
善良比聪明更重要(评论内容审核后才会显示)
分享,让知识传承更久远
×
文档下载
×
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档