Use $.plusready () or Mui.plusready () in the MUI
Similar to $ (document) in jquery. Ready ();
First, what is Plusready?
In app development, to use the html5+ extension API, you must wait for the Plusready event to work, and the MUI encapsulates the event as a Mui.plusready () method, involving the html5+ API. The recommendations are written in the Mui.plusready method.
Second, what's the difference between a html5+ and a HTML5?
The so-called html4.0 standard we do not discuss, this is the early specification of browser Markup Language parsing, in app development we usually use the HTML5
HTML5: The core language of the World Wide Web, the fifth major modification of the application Hypertext Markup Language (HTML) in the standard Universal Markup Language, published in 2014, after which the browser must comply with this development specification to achieve the interpretation of Html,css,javascript, Where CSS complies with the latest CSS3 specifications, JavaScript complies with the latest ECMASCRIPT6.
html5+: In fact or HTML5, just in HTML5 for mobile phone development app added to a large number of native features support, including camera, WiFi, vibration, GPS and so on hardware and software functions, through the JS package call Android Native interface makes the H5 development app more powerful, So called html5+ (app development must use html5+)
Thirdly, the note points about MUI Plusready:
The Plusready event is triggered only when the WebView is first created, and the mui.openWindow Plusready event is not repeated when a webview with the same ID that already exists is opened multiple times, so if the business is written in the Plusready event, There may be situations where execution results and expected inconsistencies can occur, and the custom event triggers
MUI Development app Plusready