Hi Piotr, I think we 're talking about different things ;) I'm referring to call methods in a more *dirty* way: with brackets (I-e: object[func]()) or with call or apply The Toast example is using a listener what I think is ok, but don't see the relation, or I'm missing something?
thanks 2017-01-19 10:11 GMT+01:00 piotrz <piotrzarzyck...@gmail.com>: > Sorry Carlos it's in the Toast [1] - snackbar object. In order to know what > is the name of the object I looked into JS code of MDL. I'm taking it in > handler: onElementMdlComponentUpgraded > > [1] > https://github.com/apache/flex-asjs/blob/develop/frameworks/projects/ > MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Toast.as > > Piotr > > > > ----- > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-calling-a-method- > over-an-object-that-can-t-be-declared-as-HTMLDialogElement- > tp58428p58449.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- 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.