Titanium JIRA Archive
Alloy (ALOY)

[ALOY-655] Provide a data- attribute support for Alloy xml

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterNam Le
AssigneeUnknown
Created2013-05-02T22:21:14.000+0000
Updated2018-03-07T22:26:09.000+0000

Description

For Studio integrations, we need to be able to store meta-data about the Alloy components, ie
<Alloy>
	<Window class="container">
		<Label id="label" onClick="doClick" data-studio-id="323112">Hello, World</Label>
	</Window>
</Alloy>
This is similar to what HTML5 provides, so there appears to be other use cases for it

Comments

  1. Tim Poulsen 2014-03-12

    Can you provide more details on this? Is the request still valid? What is the use-case? Does the ID need to be unique per app, per build, per developer, globally? Does the ID need to be numeric, sequential, a GUID/hex string?
  2. Tim Poulsen 2014-05-13

    [~pinnamuri] Is this still something Studio needs? If so, can you answer the questions above?
  3. Praveen Innamuri 2014-05-13

    I don't know where did this request originated from. However, I don't think we would require this additional property specific to Studio at this moment, and that doesn't sounds right to me (unless I get to know the original use case). I would shelve this to backlog and we can prioritize it as we discover the real need for this :-)

JSON Source