You should be able to set the disabled property on your HTMLButtonElement or HTMLInputElement (or any other type of element that can be disabled) to true. This should have the same effect as setting the disabled attribute on the HTML tag.
- Josh 2016-10-18 8:37 GMT-07:00 Carlos Rovira <carlos.rov...@codeoscopic.com>: > Hi Alex, > > in MDL the disabled is done simply adding "disabled" to the tag, either in > declaration or by code. the DisabledBead don't use that approach. I could > make my own DisabledBead, I only need to know how I can write "disabled" in > the code at runtime. Do you know the way to do this in FlexJS? > thanks > > 2016-10-18 17:15 GMT+02:00 Alex Harui <aha...@adobe.com>: > > > > > > > On 10/18/16, 4:28 AM, "carlos.rov...@gmail.com on behalf of Carlos > Rovira" > > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > > wrote: > > > > >Hi, > > > > > >I tested DisableBead, but had to make some changes, since depends os > > >changes in sprite branch. So removed the cherry pick in my branch. I'll > > >left that behind for now. > > > > FWIW, if MDL has a defined implementation of disable, you don't need a > > bead for it in your MDL button. > > > > -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. >