I think there's no need of utility class. If you see classList API it has all needed methods (add/remove/toggle....) or at least I don't find right now more needs....maybe as I use.. So is just use "element.classList.add(some class)" or other uses like this
2016-11-30 23:27 GMT+01:00 Alex Harui <aha...@adobe.com>: > > > On 11/30/16, 2:16 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > wrote: > > >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? > > > > Yes, or build that utility class and use it in MDL and share it with > others who need it. > > Thanks, > -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.