Home > Article > WeChat Applet > WeChat Mini Program 0.11.122100 version update details introduction
0.11.122100 Update Overview
Added 4 new APIs, 2 new components
Expansion Added 10 component properties and added 6 component events
Fixed dozens of API and component bugs and optimized some interactive experiences
Development The developer tool adds debugging support for new APIs and components
The developer tool adds debugging support for WeChat payment
A New API wx.switchTab Details
A New API wx .scanCode
A New API wx.createMapContext
A New API wx.createCanvasContext
A Added new API wx.showToast calling parameter mask
A Added new page method Page.onShareAppMessage for customizing sharing content
A New framework method App.onError
A New page configuration disabelScroll
A New
A Added
A Added
A Added
A Added component attribute objectFit
A Added component attribute markers polyline circles include-points controls show-location
A Added
A Added component attribute cursor- spacing
A Added component attribute cursor-spacing
A Added
A Add
A Add
A Added component event bindtap bindmarkertap bindcontrolstap bindregionchange
A Add component event bindconfirm
A Add component event bindtimeupdate
A New component event bindconfirm
A New component event bindinput
A New Component event bindlongtap
A Added AudioContext.setSrc() context API
A Added CanvasContext context
A Added CanvasContext.arc() context API
A Added CanvasContext.fillRect() context API
A New CanvasContext.strokeRect() context API
A New CanvasContext.createLinearGradient() context API
A New Added CanvasContext.createCircularGradient() context API
A Added
U Update API wx.getSystemInfo Add platform return parameters
U Update API wx.downloadFile When the HTTP status code is 200 or 304, tmpFilePath will be returned
U Update the character limit of API wx.showModal call parameter confirmText cancelText
U Update WXML dataset return to support Object and Array
U Update
U Update
U Update
U Update CanvasContext.save() CanvasContext.restore() Context API Save brush style
U Update CanvasContext.arc() Context API parameter adjustment, add eAngle, counterclockwise, remove sweepAngle
U Optimize the sliding experience of
U Optimize the interactive experience of
U Optimize
F Fix wx.request method on Android can only use uppercase letters Value problem
F Fix the problem that wx.uploadFile cannot set header on iOS
F Fix wx.getLocation type=gcj02 on iOS The problem that it does not take effect
F Fix the problem that wx.showToast is still displayed after exiting the applet
F Fix the wx.showModal return parameter in Inconsistency between Android and iOS
F Fixed the layout disorder problem when wx.showModal content is too long or the title is empty
F Fix the problem that the default value is not displayed when wx.showModal cancelText and confirmText are empty
F Fix the problem that the keyboard pops up during wx.showModal and the keyboard cannot be closed
F Fix the problem that wx.getImageInfo cannot obtain http link images on Android
F Fixed the problem of inconsistent screen height obtained by wx.getSystemInfo due to tabbar appearance
F Fixed wx.downloadFile image not being displayed after downloading on Android Problem
F Fix the problem that wx.request does not correctly encode the request data
F Fix wx.login App.onLaunch in iOS No callback problem
F Fix wx.createAnimationContext setting transformOrigin exception and animation cannot proceed to the next step
F Fix wx.navigateTo wx .redirectTo On iOS, the problem that Page.onLoad cannot be called
F Fixed the problem that the default behavior of catch blocking events is invalid
F Fixed SetInterval parameter-passing error on iOS causes the page to freeze.
F Fixed the problem of onReachBottom triggering multiple times
F Fixed
##F Fixed the problem that drawImage cannot be displayed normally
F Fixed
F Fix the problem of
F Fix the problem that
submit cannot get the input contentD The
D The wx.createContext interface will be removed soon
D The auto-focus attribute will be removed soon, use focus directly Attributes
D will be removed covers attribute
A Added wx.startRecord wx.stopRecord wx.playVoice wx. pauseVoice wx.stopVoice API debugging support
A Added WeChat payment debugging support
A Added QR code scanning debugging support
A Added a new message about app.json repeatedly defining the page file, resulting in a submission preview error
A Added a new message about network error when loading images in the simulator
A Added the function of setting the initialization page and parameters when compiling
A Added the function of setting the initialization page and parameters when submitting the preview
F Optimize the appdata panel to view data in separate pages, support dynamic updates and code mode display
F Fix wx.getBackgroundAudioPlayerState when there is no music playing No return problem
F Fix wx.getBackgroundAudioPlayerState getting status incorrect problem
F Fix wxml panel white screen in some cases Problem
F Fixed the problem that wxml panel attributes cannot be copied, and the copy contains a carriage return
F Fixed the problem that wxml panel single text node is not displayed Alignment problem
F Fix the simulator display error when the tabbar position in app.json is set to top
F Fix devtools and The problem of incorrect clicking on external links in the editor
F Fixed the problem of wx.requst being unable to send the request due to cache
url | String | is | The path of the tabBar page that needs to be jumped (the page that needs to be defined in the field of app.json), the path cannot be followed by parameters |
success | Function | No | Callback function for successful interface call |
fail | Function | No | Interface call Failed callback function |
complete | Function | No | The callback function that ends the interface call (will be executed if the call is successful or failed) ) |
success | Function | No | The interface calls the callback function successfully. For details of the return content, see the return parameter description. |
fail | Function | No | Callback function that fails to call the interface |
complete | Function | No | The callback function at the end of the interface call (will be executed if the call is successful or failed) |
result | Content of code |
Only when this event handler is defined, the "Share" button will be displayed in the upper right corner menu
It will be called when the user clicks the share button
This event needs to return an Object for custom sharing content
title | Share title | Current applet name |
Sharing description | Current applet name | |
Sharing path | Current page path, required Is the complete path starting with / |
String | Yes | Prompt content | |
String | No | icon, only supports "success", "loading" | |
Number | No | The delay time of the prompt, in milliseconds, default: 1500, maximum 10000 | |
Boolean | No | Whether to display a transparent mask to prevent touch penetration, default: false | |
Function | No | Callback function for successful interface call | |
Function | No | Callback function for failed interface call | |
Function | No | The callback function at the end of the interface call (will be executed if the call is successful or failed) |
Share title | Current applet name | ##desc | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current applet name | path | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current page path, required Is the full path starting with / | Sample code: |
canvasId | String | Canvas representation, pass in the canvas-id defined in |
src | Audio Address | |
None | Play | |
None | Pause | |
position | Jump to the specified position, unit s |
Number Array |
The numbers in the array sequentially represent the number selected by the picker-view-colume in the picker-view (the subscript starts from 0), the number When the length of the picker-view-column options is greater than the length, the last item is selected. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
String | ##Set the style of the selected box in the middle of the selector |
bindchange | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The change event is triggered when the value changes during scroll selection, event.detail = {value: value} ;value is an array, indicating which item is currently selected in the picker-view-column in the picker-view (the subscript starts from 0) |
Note: Only the |
x | Number | x coordinate of the center of the circle |
y | Number | y coordinate of the center of the circle |
r | Number | The radius of the circle |
Number | x coordinate of the starting point | |
Number | y coordinate of the starting point | |
Number | x coordinate of the end point | |
Number | y coordinate of the end point |
Number |
The x-coordinate of the upper left corner of the rectangular path |
||||||||||||||||||||||||||||||||
Number |
The y coordinate of the upper left corner of the rectangular path |
||||||||||||||||||||||||||||||||
Number |
Rectangular path The width |
||||||||||||||||||||||||||||||||
Number | ##The height of the rectangular path |
x | Number | x coordinate of the upper left corner of the rectangular path |
y | Number | y coordinate of the upper left corner of the rectangular path |
width | Number | The width of the rectangular path |
height | Number | The height of the rectangular path |
Number | x coordinate of the circle | |
Number | y coordinate of the circle | |
Number | The radius of the circle | |
Number | Starting radian, unit radian ( At 3 o'clock) | |
Number | Ending arc | |
Boolean | Optional. Specifies whether the direction of radians is counterclockwise or clockwise. The default is false, which is clockwise. |
The above is the detailed content of WeChat Mini Program 0.11.122100 version update details introduction. For more information, please follow other related articles on the PHP Chinese website!