[ALOY-775] Allow a Require to add both (multiple) Templates and ListSections
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Alloy 1.2.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | alloy, itemtemplate, listsection, listview, require, templates |
Reporter | Fokke Zandbergen |
Assignee | Unknown |
Created | 2013-08-05T19:24:30.000+0000 |
Updated | 2018-03-07T22:25:40.000+0000 |
Description
The goal
*index.xml*
<Alloy>
<Window>
<ListView>
<Require src="foo" />
</ListView>
</Window>
</Alloy>
*foo.xml*
<Alloy>
<Templates>
<ItemTemplate name="tpl">
<Label bindId="label" />
</ItemTemplate>
</Templates>
<ListSection>
<ListItem template="tpl" label:text="Hello World" />
</ListSection>
</Alloy>
Current situation
If theProposed solution
For all situations in whichComments
No comments