[ALOY-125] Add style attributes to markup
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-07-27T12:59:40.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Russell McMahon |
| Assignee | Unknown |
| Created | 2012-07-25T00:33:20.000+0000 |
| Updated | 2018-03-07T22:25:55.000+0000 |
Description
Styles are done in tss files and typically tied to markup elements using class or id. Having support as a style attribute on the element would be. It should act as CSS style attribute when calculating style values.
I think what is meant to happen, as per the conversations had on the google group is not something like this:
but instead like this:<View id="myid" style="{backgroundColor:'#a00', customAttribute:123}"/>I think the JSON will become extremely messing in astyleattribute. Also, individual attributes is how this behavior is already handled for widgets and required views.Your right Tony. I did not mean use style="{..}" in xml markup. I was thinking each style would be it's own attribute. I brought CSS for how to apply specificity.