On 8/7/16, 9:46 AM, "Harbs" <[email protected]> wrote:

>OK. That makes sense. (and yes, you understood me correctly)
>
>I do think that className should be assigned to the element though via
>MXML, and there should be an “element id” which should be set-able via
>MXML.
>
> “id” is important if you want some external code to be able to address a
>piece of your FlexJS app. It’s also important for setting styles via CSS.

I'm not sure why you are saying that className isn't assigned to the
element.  The className setter looks like it would.

Maybe we need an option about whether id gets set on the element.  Or
maybe elements in the main view get their ids set.  Andy is right about
MXML components, but lots of folks only have one instance of each MXML
component and expect CSS id selectors to work.

Thoughts?
-Alex

Reply via email to