Right, I'm with you that an utility class will be good for the rest of FlexJS, and as well maybe is great as well support IE9.
So for MDL I'll continue with this refactor of classList only in MDL, right? 2016-11-30 20:27 GMT+01:00 Alex Harui <aha...@adobe.com>: > > > On 11/30/16, 11:16 AM, "Carlos Rovira" <carlos.rov...@codeoscopic.com> > wrote: > > >Hi Alex, > > > >You mean in the case of The rest of flexjs not in mdl? > > Yes, the rest of FlexJS. If MDL is heavily dependent on changing > classnames then the MDL library should support that. But all of our other > examples are working just fine without this feature, so it would be great > if it were some separate pay-as-you-go feature like a utility class > instead of something baked into the base classes. > > -Alex > > > > > >El El mié, 30 nov 2016 a las 19:49, Alex Harui <aha...@adobe.com> > >escribió: > > > >> On 11/30/16, 10:34 AM, "carlos.rov...@gmail.com on behalf of Carlos > >> Rovira" <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> > >> wrote: > >> >So in order to extend the classList changes to the rest of MDL > >>framework > >> >in > >> >FlexJS, I'm motivated to do so, but hope you could share your thoughts > >> >here. > >> > > >> >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, > >> -Alex > >> > >> > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.