flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS][Discuss] Test classList in mdl:Button
Date Wed, 30 Nov 2016 18:49:10 GMT
On 11/30/16, 10:34 AM, "carlos.rovira@gmail.com on behalf of Carlos
Rovira" <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>So in order to extend the classList changes to the rest of MDL framework
>FlexJS, I'm motivated to do so, but hope you could share your thoughts
>What is clear is that className management is a nightmare in the current
>state and we need something like this, maybe not only in MDL but in the
>rest of FlexJS.

IMO, it is only a nightmare if you change className often and use lists of
classNames.  I don't think that every application will need it, and it
seems like it is possible to manage the list of classNames just as
efficiently via something like a org.apache.flex.utils.ClassNameUtils.  So
my recommendation would be to create such a class for those who need it.

My 2 cents,

View raw message