微信小程序API文档(201912)
首页
白天
夜间
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
编辑文档
路由
来源 1
浏览
970
扫码
打印
2019-12-04 21:30:50
wx.navigateTo
上一篇:
下一篇:
发布点评
文件
wx.getFileSystemManager
wx.saveFile
wx.getSavedFileInfo
wx.getSavedFileList
FileSystemManager
FileSystemManager.rmdir
FileSystemManager.appendFileSync
FileSystemManager.removeSavedFile
FileSystemManager.mkdir
FileSystemManager.accessSync
FileSystemManager.stat
FileSystemManager.readFile
FileSystemManager.getFileInfo
FileSystemManager.access
FileSystemManager.readdirSync
FileSystemManager.readdir
FileSystemManager.mkdirSync
FileSystemManager.saveFileSync
FileSystemManager.writeFile
FileSystemManager.statSync
FileSystemManager.renameSync
FileSystemManager.unlink
FileSystemManager.readFileSync
FileSystemManager.rmdirSync
FileSystemManager.appendFile
FileSystemManager.writeFileSync
FileSystemManager.getSavedFileList
FileSystemManager.copyFile
FileSystemManager.unlinkSync
FileSystemManager.copyFileSync
FileSystemManager.rename
FileSystemManager.saveFile
FileSystemManager.unzip
wx.getFileInfo
Stats
Stats.isDirectory
Stats.isFile
wx.removeSavedFile
wx.openDocument
广告
RewardedVideoAd
RewardedVideoAd.onLoad
RewardedVideoAd.offError
RewardedVideoAd.offClose
RewardedVideoAd.show
RewardedVideoAd.load
RewardedVideoAd.destroy
RewardedVideoAd.onClose
RewardedVideoAd.onError
RewardedVideoAd.offLoad
wx.createRewardedVideoAd
RewardedVideoAd
InterstitialAd
InterstitialAd.onLoad
InterstitialAd.show
InterstitialAd.destroy
InterstitialAd.onError
InterstitialAd.offError
InterstitialAd.offLoad
InterstitialAd.onClose
InterstitialAd.offClose
InterstitialAd.load
wx.createInterstitialAd
路由
wx.navigateBack
wx.switchTab
wx.redirectTo
EventChannel
EventChannel.once
EventChannel.off
EventChannel.emit
EventChannel.on
wx.reLaunch
wx.navigateTo
网络
发起请求
数据缓存
wx.removeStorage
wx.setStorageSync
wx.getStorage
wx.removeStorageSync
wx.clearStorageSync
wx.getStorageInfoSync
wx.setStorage
wx.clearStorage
wx.getStorageSync
周期性更新
wx.getBackgroundFetchToken
wx.getBackgroundFetchData
wx.onBackgroundFetchData
wx.setBackgroundFetchToken
wx.getStorageInfo
mDNS
wx.onLocalServiceFound
wx.stopLocalServiceDiscovery
wx.onLocalServiceLost
wx.offLocalServiceFound
wx.startLocalServiceDiscovery
wx.offLocalServiceResolveFail
wx.offLocalServiceDiscoveryStop
wx.offLocalServiceLost
wx.onLocalServiceDiscoveryStop
wx.onLocalServiceResolveFail
UDP 通信
wx.createUDPSocket
UDPSocket
UDPSocket.onMessage
UDPSocket.send
UDPSocket.offError
UDPSocket.onError
UDPSocket.offClose
UDPSocket.onListening
UDPSocket.bind
UDPSocket.offMessage
UDPSocket.offListening
UDPSocket.onClose
UDPSocket.close
上传 wx.uploadFile
wx.request
RequestTask
RequestTask.onHeadersReceived
RequestTask.abort
RequestTask.offHeadersReceived
WebSocket
wx.onSocketOpen
wx.closeSocket
wx.onSocketMessage
wx.onSocketClose
wx.sendSocketMessage
wx.connectSocket
wx.onSocketError
SocketTask
SocketTask.onClose
SocketTask.onMessage
SocketTask.send
SocketTask.onError
SocketTask.onOpen
SocketTask.close
UploadTask
UploadTask.onHeadersReceived
UploadTask.offProgressUpdate
UploadTask.onProgressUpdate
UploadTask.offHeadersReceived
UploadTask.abort
下载
DownloadTask
DownloadTask.offProgressUpdate
DownloadTask.offHeadersReceived
DownloadTask.onProgressUpdate
DownloadTask.abort
DownloadTask.onHeadersReceived
wx.downloadFile
设备
剪贴板
wx.setClipboardData
wx.getClipboardData
设备方向
wx.onDeviceMotionChange
wx.startDeviceMotionListening
wx.stopDeviceMotionListening
wx.offDeviceMotionChange
性能
wx.onMemoryWarning
wx.offMemoryWarning
iBeacon
wx.onBeaconUpdate
wx.getBeacons
wx.startBeaconDiscovery
wx.offBeaconServiceChange
wx.stopBeaconDiscovery
wx.onBeaconServiceChange
wx.offBeaconUpdate
IBeaconInfo
电话 wx.makePhoneCall
网络
wx.onNetworkStatusChange
wx.getNetworkType
wx.offNetworkStatusChange
联系人 wx.addPhoneContact
扫码 wx.scanCode
陀螺仪
wx.onGyroscopeChange
wx.offGyroscopeChange
wx.startGyroscope
wx.stopGyroscope
低功耗蓝牙
wx.onBLEConnectionStateChange
wx.closeBLEConnection
wx.notifyBLECharacteristicValueChange
wx.getBLEDeviceCharacteristics
wx.readBLECharacteristicValue
wx.offBLECharacteristicValueChange
wx.createBLEConnection
wx.writeBLECharacteristicValue
wx.getBLEDeviceServices
wx.onBLECharacteristicValueChange
wx.offBLEConnectionStateChange
Wi-Fi
wx.getConnectedWifi
wx.offWifiConnected
wx.onWifiConnected
WifiInfo
wx.setWifiList
wx.startWifi
wx.getWifiList
wx.stopWifi
wx.connectWifi
wx.onGetWifiList
wx.offGetWifiList
NFC
wx.onHCEMessage
wx.getHCEState
wx.sendHCEMessage
wx.stopHCE
wx.startHCE
wx.offHCEMessage
屏幕
wx.offUserCaptureScreen
wx.setKeepScreenOn
wx.onUserCaptureScreen
wx.setScreenBrightness
wx.getScreenBrightness
蓝牙
wx.openBluetoothAdapter
wx.startBluetoothDevicesDiscovery
wx.onBluetoothDeviceFound
wx.getBluetoothAdapterState
wx.offBluetoothAdapterStateChange
wx.onBluetoothAdapterStateChange
wx.stopBluetoothDevicesDiscovery
wx.getBluetoothDevices
wx.getConnectedBluetoothDevices
wx.closeBluetoothAdapter
wx.offBluetoothDeviceFound
振动
wx.vibrateLong
wx.vibrateShort
电量
wx.getBatteryInfo
wx.getBatteryInfoSync
罗盘
wx.offCompassChange
wx.onCompassChange
wx.startCompass
wx.stopCompass
加速计
wx.offAccelerometerChange
wx.onAccelerometerChange
wx.startAccelerometer
wx.stopAccelerometer
WXML
SelectorQuery
SelectorQuery.select
SelectorQuery.selectAll
SelectorQuery.exec
SelectorQuery.in
SelectorQuery.selectViewport
IntersectionObserver
IntersectionObserver.observe
IntersectionObserver.relativeToViewport
IntersectionObserver.disconnect
IntersectionObserver.relativeTo
wx.createSelectorQuery
NodesRef
NodesRef.scrollOffset
NodesRef.context
NodesRef.boundingClientRect
NodesRef.node
NodesRef.fields
wx.createIntersectionObserver
界面
字体 wx.loadFontFace
导航栏
wx.showNavigationBarLoading
wx.setNavigationBarTitle
wx.setNavigationBarColor
wx.hideHomeButton
wx.hideNavigationBarLoading
动画
wx.createAnimation
置顶 wx.setTopBarText
键盘
wx.onKeyboardHeightChange
wx.getSelectedTextRange
wx.hideKeyboard
Animation
Animation.matrix
Animation.opacity
Animation.rotateY
Animation.matrix3d
Animation.skewX
Animation.rotate
Animation.skew
Animation.scaleY
Animation.bottom
Animation.scaleX
Animation.translateY
Animation.translate3d
Animation.width
Animation.scale3d
Animation.rotateZ
Animation.height
Animation.backgroundColor
Animation.translateX
Animation.scaleZ
Animation.rotateX
Animation.skewY
Animation.top
Animation.step
Animation.scale
Animation.export
Animation.translate
Animation.rotate3d
Animation.translateZ
Animation.left
Animation.right
窗口
wx.onWindowResize
wx.offWindowResize
菜单 wx.getMenuButtonBoundingClientRect
自定义组件 wx.nextTick
滚动 wx.pageScrollTo
背景
wx.setBackgroundColor
wx.setBackgroundTextStyle
下拉刷新
wx.startPullDownRefresh
wx.stopPullDownRefresh
交互
wx.showToast
wx.showModal
wx.showActionSheet
wx.hideLoading
wx.showLoading
wx.hideToast
Tab Bar
wx.setTabBarItem
wx.hideTabBar
wx.removeTabBarBadge
wx.setTabBarStyle
wx.showTabBarRedDot
wx.showTabBar
wx.hideTabBarRedDot
wx.setTabBarBadge
第三方平台
wx.getExtConfig
wx.getExtConfigSync
画布
wx.canvasToTempFilePath
OffscreenCanvas
OffscreenCanvas.getContext
RenderingContext
wx.canvasGetImageData
wx.createCanvasContext
CanvasContext
CanvasContext.lineTo
CanvasContext.clip
CanvasContext.fillRect
CanvasContext.closePath
CanvasContext.save
CanvasContext.drawImage
CanvasContext.setFontSize
CanvasContext.scale
CanvasContext.setLineWidth
CanvasContext.arc
CanvasContext.setGlobalAlpha
CanvasContext.transform
CanvasContext.setTextAlign
CanvasContext.setStrokeStyle
CanvasContext.measureText
CanvasContext.setLineJoin
CanvasContext.stroke
CanvasContext.beginPath
CanvasContext.strokeText
CanvasContext.setFillStyle
CanvasContext.setTextBaseline
CanvasContext.setLineDash
CanvasContext.createLinearGradient
CanvasContext.rotate
CanvasContext.createPattern
CanvasContext.createCircularGradient
CanvasContext.clearRect
CanvasContext.rect
CanvasContext.strokeRect
CanvasContext.setLineCap
CanvasContext.translate
CanvasContext.fillText
CanvasContext.fill
CanvasContext.draw
CanvasContext.moveTo
CanvasContext.setShadow
CanvasContext.arcTo
CanvasContext.restore
CanvasContext.bezierCurveTo
CanvasContext.setMiterLimit
CanvasContext.setTransform
CanvasContext.quadraticCurveTo
ImageData
Canvas
Canvas.getContext
Canvas.createImage
Canvas.requestAnimationFrame
Canvas.createImageData
Canvas.cancelAnimationFrame
Image
CanvasGradient
CanvasGradient.addColorStop
wx.createOffscreenCanvas
Color
wx.canvasPutImageData
Worker
wx.createWorker
Worker
Worker.terminate
Worker.onMessage
Worker.postMessage
开放接口
设置
wx.getSetting
wx.openSetting
AuthSetting
数据上报 wx.reportMonitor
收货地址 wx.chooseAddress
授权 wx.authorize
数据分析 wx.reportAnalytics
微信运动 wx.getWeRunData
发票
wx.chooseInvoice
wx.chooseInvoiceTitle
卡券
wx.openCard
wx.addCard
登录
wx.login
wx.checkSession
订阅消息 wx.requestSubscribeMessage
小程序跳转
wx.navigateBackMiniProgram
wx.navigateToMiniProgram
支付 wx.requestPayment
帐号信息 wx.getAccountInfoSync
生物认证
wx.checkIsSupportSoterAuthentication
wx.startSoterAuthentication
wx.checkIsSoterEnrolledInDevice
用户信息
UserInfo
wx.getUserInfo
位置
wx.chooseLocation
wx.openLocation
wx.onLocationChange
wx.offLocationChange
wx.startLocationUpdateBackground
wx.getLocation
wx.stopLocationUpdate
wx.startLocationUpdate
媒体
实时音视频
wx.createLivePusherContext
wx.createLivePlayerContext
LivePusherContext
LivePusherContext.resumeBGM
LivePusherContext.start
LivePusherContext.stopBGM
LivePusherContext.switchCamera
LivePusherContext.stopPreview
LivePusherContext.playBGM
LivePusherContext.stop
LivePusherContext.snapshot
LivePusherContext.setBGMVolume
LivePusherContext.startPreview
LivePusherContext.pause
LivePusherContext.pauseBGM
LivePusherContext.toggleTorch
LivePusherContext.resume
LivePlayerContext
LivePlayerContext.exitFullScreen
LivePlayerContext.snapshot
LivePlayerContext.mute
LivePlayerContext.play
LivePlayerContext.requestFullScreen
LivePlayerContext.pause
LivePlayerContext.stop
LivePlayerContext.resume
视频
wx.saveVideoToPhotosAlbum
VideoContext
VideoContext.play
VideoContext.hideStatusBar
VideoContext.showStatusBar
VideoContext.seek
VideoContext.playbackRate
VideoContext.requestFullScreen
VideoContext.sendDanmu
VideoContext.exitFullScreen
VideoContext.stop
VideoContext.pause
wx.chooseVideo
wx.createVideoContext
录音
wx.startRecord
wx.getRecorderManager
RecorderManager
RecorderManager.onFrameRecorded
RecorderManager.pause
RecorderManager.onStart
RecorderManager.onInterruptionBegin
RecorderManager.stop
RecorderManager.onResume
RecorderManager.onError
RecorderManager.onStop
RecorderManager.onInterruptionEnd
RecorderManager.resume
RecorderManager.start
RecorderManager.onPause
wx.stopRecord
音频
wx.playVoice
AudioContext
AudioContext.setSrc
AudioContext.pause
AudioContext.seek
AudioContext.play
wx.createAudioContext
wx.getAvailableAudioSources
wx.createInnerAudioContext
wx.setInnerAudioOption
wx.stopVoice
InnerAudioContext
InnerAudioContext.onSeeked
InnerAudioContext.onPause
InnerAudioContext.onEnded
InnerAudioContext.destroy
InnerAudioContext.offSeeking
InnerAudioContext.offError
InnerAudioContext.stop
InnerAudioContext.seek
InnerAudioContext.onTimeUpdate
InnerAudioContext.offEnded
InnerAudioContext.onPlay
InnerAudioContext.onSeeking
InnerAudioContext.onWaiting
InnerAudioContext.offPause
InnerAudioContext.onStop
InnerAudioContext.offSeeked
InnerAudioContext.pause
InnerAudioContext.offCanplay
InnerAudioContext.onError
InnerAudioContext.offStop
InnerAudioContext.offWaiting
InnerAudioContext.onCanplay
InnerAudioContext.offTimeUpdate
InnerAudioContext.play
InnerAudioContext.offPlay
wx.pauseVoice
图片
wx.getImageInfo
wx.chooseMessageFile
wx.previewImage
wx.chooseImage
wx.compressImage
wx.saveImageToPhotosAlbum
地图
MapContext
MapContext.getScale
MapContext.getSkew
MapContext.getCenterLocation
MapContext.translateMarker
MapContext.getRotate
MapContext.moveToLocation
MapContext.getRegion
MapContext.includePoints
wx.createMapContext
音视频合成
MediaTrack
MediaContainer
MediaContainer.addTrack
MediaContainer.destroy
MediaContainer.removeTrack
MediaContainer.export
MediaContainer.extractDataSource
wx.createMediaContainer
背景音频
wx.seekBackgroundAudio
wx.onBackgroundAudioStop
wx.onBackgroundAudioPause
wx.getBackgroundAudioPlayerState
wx.onBackgroundAudioPlay
wx.pauseBackgroundAudio
BackgroundAudioManager
BackgroundAudioManager.onSeeked
BackgroundAudioManager.onTimeUpdate
BackgroundAudioManager.stop
BackgroundAudioManager.onSeeking
BackgroundAudioManager.onError
BackgroundAudioManager.onEnded
BackgroundAudioManager.onWaiting
BackgroundAudioManager.onStop
BackgroundAudioManager.play
BackgroundAudioManager.seek
BackgroundAudioManager.pause
BackgroundAudioManager.onCanplay
BackgroundAudioManager.onPrev
BackgroundAudioManager.onPlay
BackgroundAudioManager.onPause
BackgroundAudioManager.onNext
wx.getBackgroundAudioManager
wx.playBackgroundAudio
wx.stopBackgroundAudio
相机
CameraContext
CameraContext.onCameraFrame
CameraContext.stopRecord
CameraContext.startRecord
CameraContext.takePhoto
CameraFrameListener
CameraFrameListener.start
CameraFrameListener.stop
wx.createCameraContext
转发
wx.getShareInfo
wx.showShareMenu
wx.hideShareMenu
wx.updateShareMenu
基础
小程序
应用级事件
wx.offAppShow
wx.onAudioInterruptionEnd
wx.onAppShow
wx.onPageNotFound
wx.onAudioInterruptionBegin
wx.onError
wx.onAppHide
wx.offAppHide
wx.offAudioInterruptionBegin
wx.offError
wx.offPageNotFound
wx.offAudioInterruptionEnd
生命周期
wx.getLaunchOptionsSync
wx.canIUse
wx.base64ToArrayBuffer
调试
wx.getRealtimeLogManager
RealtimeLogManager
RealtimeLogManager.info
RealtimeLogManager.warn
RealtimeLogManager.error
RealtimeLogManager.setFilterMsg
RealtimeLogManager.in
RealtimeLogManager.addFilterMsg
LogManager
LogManager.log
LogManager.warn
LogManager.info
LogManager.debug
console
console.info
console.debug
console.groupEnd
console.warn
console.log
console.group
console.error
定时器
clearTimeout
clearInterval
setTimeout
setInterval
envObj
wx.getLogManager
wx.setEnableDebug
wx.arrayBufferToBase64
系统
系统信息
wx.getSystemInfo
wx.getSystemInfoSync
更新
UpdateManager
UpdateManager.onUpdateReady
UpdateManager.onCheckForUpdate
UpdateManager.onUpdateFailed
UpdateManager.applyUpdate
wx.getUpdateManager
暂无相关搜索结果!
本文档使用
全库网
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度