On 8/8/16, 10:24 PM, "Harbs" <[email protected]> wrote:
>Ah. I did not understand you. > >So you are saying that if you don’t care about multiple IDs (or are >making sure your IDs are unique, you can just use id. If you don’t want >the MXML id to propagate to the DOM, you’d use mxmlID for the MXML >instead. > >Did I get it? Yes. > >> I also wonder if FlexJS should translate id >> selectors to class selectors automatically. We do that to extend the >>Type >> Selectors already. > >I did not understand this. Apparently, an issue with id selectors is that you really are only supposed to have a single element with that id in the DOM. I think I read that some folks translate id selectors to class selectors and assign className instead of id so you can have more than one element respond to those styles. -Alex
