[ALOY-655] Provide a data- attribute support for Alloy xml
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Nam Le |
Assignee | Unknown |
Created | 2013-05-02T22:21:14.000+0000 |
Updated | 2018-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
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?
[~pinnamuri] Is this still something Studio needs? If so, can you answer the questions above?
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 :-)