Titanium JIRA Archive
Alloy (ALOY)

[ALOY-163] "controller" attribute for <Alloy> element

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-08-08T08:17:35.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-08-07T18:12:28.000+0000
Updated2018-03-07T22:25:41.000+0000

Description

The "controller" attribute in the tag would indicate that the view markup should not be processed as a runtime controller. The primary reason for this would be if the view was just the target of an element.
<Alloy controller="false">
    <!-- the rest of your markup to be included -->
</Alloy>
If "controller" is not defined in the element, then "true" is the default and the view is processed as usual.

Comments

No comments

JSON Source