Repository - API - Source
<script static="true">
. Have code run just onceturbo.collapse
as alias for turbo.collapseContainer
turbo.expand
as alias for turbo.expandContainer
<style>
tag in XML views! Also supports the src
element which then allows using a widget-wide app.tss
file.require('turbo')
- more awesomeness to come!stack
and orientation property that defaults to vertical
) in JavaScript and xml viewsvertical
) in JavaScript and xml viewshorizontal
) in JavaScript and xml viewsabsolute
) in JavaScript and xml viewsindex
). Currently search order: Alloy.main
→ Alloy.CFG.main
→ Titanium Property: app.main
.stack
and orientation property that defaults to vertical
) in xml viewsvertical
) in xml viewshorizontal
) in xml viewsabsolute
) in xml viewsopen
and close
functions to Controller for opening/closing Controller viewscode
to script
use-underscore
support in tiapp.xml for using underscore.js instead of lodash.allowReturnOutsideFunction
to allow support of some older npm modulescenter
for Ti.UI.TEXT_VERTICAL_ALIGNMENT_CENTER
when used with verticalAlign
XML attributetext
for Ti.UI.Button.title
when used as XML attributesrc
for Ti.UI.ImageView.image
when used as XML attributecontrollerId
in event args for events created in controllers.model
attribute (used with dataCollection
) to modelName
[Defaults to __currentModel
]dataName
(to be used with dataCollection
) to assign variable name to the current model.__transformed
variable [Defaults to $model
]collapse
, hidden
, and visible
.Ti.UI.VISIBILITY_COLLAPSE
, Ti.UI.VISIBILITY_HIDDEN
, and Ti.UI.VISIBILITY_VISIBLE
model
XML attribute to be used with with dataCollection
to assign variable name to modelCode
element in XML View. Add code by body or src
attribute.$.*
in Alloy Views XML attributes. Anything that starts with $.
will not be treated as a string.Alloy.createController
require('/turbo')
as an alternate for Alloy and Alloy.Globals turbo
as a supported variable for use in Alloy XML views - See JIRA Ticket$.*
variables in XML views. [[ALOY-1316]__init()
function in controllers before rest of user code'
$.args
in XML views. [[ALOY-1316]ios:text
or android:text
) [ALOY-1646]font.fontSize
) [ALOY-1363]fontSize
, fontFamily
, fontStyle
, fontWeight
, textStyle
[ALOY-1547].babelrc
, .babelrc.js
and babel.config.js
camelCase
, snake_case
, and kabab-case
in XML views. [ALOY-1647]compileConfig.dir.resourcesAlloy