Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1713] Alloy Alloy widgets to be used as primary element for XML view

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2019-12-18T15:10:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsalloy, griffin-app, widgets, xml
ReporterBrenton House
AssigneeBrenton House
Created2019-12-17T23:58:16.000+0000
Updated2019-12-18T15:10:17.000+0000

Description

Would be nice to be able to have a index.xml view like this:
<Alloy>
	<Widget src="test" />
</Alloy>
which uses a widget.xml like this:
<Alloy>
	<Window>
		<Label>I'm the default widget</Label>
	</Window>
</Alloy>
And then be able to do this in the main index.js controller:
$.index.open();
Currently, you will get an error: {color:#d04437}"$.index.open is not a function. (In '$.index.open()', '$.index.open' is undefined)";{color}

Comments

  1. Brenton House 2019-12-18

    Created PR: https://github.com/appcelerator/alloy/pull/949
  2. Brenton House 2019-12-18

JSON Source