Titanium JIRA Archive
Alloy (ALOY)

[ALOY-960] Add support for ContentView in Popover Alloy View xml

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusResolved
ResolutionDuplicate
Resolution Date2014-02-18T15:55:48.000+0000
Affected Version/sAlloy 1.3.1
Fix Version/sn/a
ComponentsXML
LabelsAlloy, View, popover
ReporterThomas Neerup
AssigneeUnknown
Created2014-02-11T07:52:42.000+0000
Updated2018-03-07T22:26:10.000+0000

Description

When creating a popover in Alloy it should be possible to define the ContentView in the View xml something like the xml bellow. Today You have to set the contentView in code.
<Alloy>
	<Popover height='100' width='250'>
		<RightNavButton>
			<Button onClick='showAlert'>Robin</Button>
		</RightNavButton>
		<ContentView>
			<NavigationWindow>
				<Window title="Mr Window."></Window>
			</NavigationWindow>
		</ContentView>
	</Popover>
</Alloy>

Comments

  1. Ritu Agrawal 2014-02-18

    Moving this improvement request to engineering for consideration.
  2. Tony Lukasavage 2014-02-18

    Already resolved in ALOY-940

JSON Source