Demonstrates using Require and Widget elements to create Titanium proxy properties.For example, as shown below, your main Alloy application can define a
<Window/>element that uses a
<Require/>element to include an external file that defines the Window element's leftNavButton and rightNavButton views.
Similarly, you can use a
<Widget/> element to add TableViewSection and TableViewRow objects to a TableView, as shown below.
Note that a
<Widget/> element is equivalent to a
<Require/> element with its type attribute set to "widget". For example, the following lines are equivalent: