UIApp
Summary
The UIApp class is the UI representation of an app
Constructor
UIApp
Syntax
UIApp
()
Summary
Methods
create
Syntax
create
()
Zepto
private
Summary
Create and add the loading indicator's elements to the DOM
Returns:
Zepto:
Zeptified element
loading
Syntax
loading
(
Boolean
-
[show]
Summary
Show/Hide the loading indicator
Parameters:
-
[show]
Boolean optionalShow or hide the loading indicator
Returns:
Boolean:
Example:
m.app.ui.loading();
m.app.ui.loading(true);
Properties
$el
Syntax
$el
Unknown
Summary
Zepto/jQuery object for DOM element
Example:
$appDOMElement = m.app.ui.$el;
$appDOMElement.on("tap", function() {
console.log("Header was tapped.");
});
el
Syntax
el
Unknown
Summary
DOM element
Example:
appDOMElement = m.app.ui.el;
appDOMElement.addEventListener("touchend", function() {
console.log("Header was touched.");
});