picker从后台取数据
API
API中很多实例,都可以通过create创建实例。比如
AudioContext 实例,可通过 wx.createAudioContext 获取。
InnerAudioContext 实例,可通过 wx.createInnerAudioContext 接口获取实例。
获取全局唯一的录音管理器 RecorderManager
getBackgroundAudioManager获取全局唯一的背景音频管理器。 小程序切入后台,如果音频处于播放状态,可以继续播放。但是后台状态不能通过调用API操纵音频的播放状态。
createCameraContext创建 camera
上下文 CameraContext
对象。
LivePusherContext 实例,可通过 wx.createLivePusherContext 获取。
wx.createLivePlayerContext(string id, Object this),创建 live-player
上下文 LivePlayerContext
对象。
wx.createVideoContext(string id, Object this), 创建 video
上下文 VideoContext
对象。
VideoContext 实例,可通过 wx.createVideoContext 获取。
Wx.nextTick(funcion callback) 延迟一部分操作到下一个时间片再执行(类似于setTimeout)
交互:显示隐藏菜单,显示隐藏提示框,显示模态框
Animation Array.<Object> Animation.export()
导出动画队列。export 方法每次调用后会清掉之前的动画操作。
开放接口->用户信息->wx.getUserInfo(Object object)获取用户信息
Picker bindchange
View bindtap
open-type="getUserInfo" bindgetuserinfo
form bindsubmit
可用e.detail,e.target