flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: FlexJS MXML ids and classNames
Date Tue, 09 Aug 2016 05:48:13 GMT

> 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.

There are definitely cases where you want to use ids instead of classes (i.e. when you really
want to target a specific element). I don’t think we should mess with that.
View raw message