API Docs for:
Show:

UIFormSelect

Extends UI
Defined in: js/uiformselect.js:1
Module: UI

Summary

UIFormSelect is a select input of a form

Constructor

UIFormSelect

Syntax

UIFormSelect

()

Summary

Item Index

Methods

Properties

Methods

hide

Inherited from UI: js/ui.js:72

Syntax

hide

() UI private

Summary

Hides element from view

Returns:

UI:

Example:

m.app.ui.hide();

show

Inherited from UI: js/ui.js:59

Syntax

show

() UI private

Summary

Shows element (not necesarily, since the element's parent might be hidden or out of view)

Returns:

UI:

Example:

m.app.ui.show();

Properties

$el

Inherited from UI: js/ui.js:46

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

Inherited from UI: js/ui.js:33

Syntax

el

Unknown

Summary

DOM element

Example:

appDOMElement = m.app.ui.el;
appDOMElement.addEventListener("touchend", function() {
    console.log("Header was touched.");
});