RE: Show an alternate image when the original is not found

2020-06-27 Thread Maria Jose Esteve
} } } What would you change? Hiedra De: Yishay Weiss mailto:yishayj...@hotmail.com>> Enviado el: miércoles, 17 de junio de 2020 16:54 Para: users@royale.apache.org<mailto:users@royale.apache.org> Asunto: RE: Show an alternate image when the original is not found Great

Re: Show an alternate image when the original is not found

2020-06-27 Thread Harbs
er(event:Event):void { > > > > var imgEle:HTMLImageElement = hostElement as HTMLImageElement; > > if (imgEle.src != _altSrc) > > { > > imgEle.src = _altSrc; > > } > > } > >

Re: Show an alternate image when the original is not found

2020-06-27 Thread Carlos Rovira
c != _altSrc) > > { > > imgEle.src = _altSrc; > > } > > } > > > > COMPILE::JS > > *protected* *function* *get* hostElement():WrappedHTMLElement > > { > > *retu

RE: Show an alternate image when the original is not found

2020-06-26 Thread Maria Jose Esteve
miércoles, 17 de junio de 2020 16:54 Para: users@royale.apache.org Asunto: RE: Show an alternate image when the original is not found Great. If it’s simpler for you, try first to make it work in your application source, and then if you need help integrating it in the framework, you can ask for ou

RE: Show an alternate image when the original is not found

2020-06-17 Thread Yishay Weiss
he.org<mailto:users@royale.apache.org> Subject: RE: Show an alternate image when the original is not found I will try and tell you. 😝 Thanks to both of you. Hiedra. De: Carlos Rovira Enviado el: miércoles, 17 de junio de 2020 15:48 Para: users@royale.apache.org Asunto: Re: Show an alternat

RE: Show an alternate image when the original is not found

2020-06-17 Thread Maria Jose Esteve
I will try and tell you. 😝 Thanks to both of you. Hiedra. De: Carlos Rovira Enviado el: miércoles, 17 de junio de 2020 15:48 Para: users@royale.apache.org Asunto: Re: Show an alternate image when the original is not found Hi Maria Jose, it'd be good to have such bead as Yishay co

Re: Show an alternate image when the original is not found

2020-06-17 Thread Carlos Rovira
Hi Maria Jose, it'd be good to have such bead as Yishay comment. Please try to make it work and report. If that works add a PR thanks! El mié., 17 jun. 2020 a las 14:22, Yishay Weiss () escribió: > Looking at your solution I would create a bead for image. Something like > (not tested, needs work)

RE: Show an alternate image when the original is not found

2020-06-17 Thread Yishay Weiss
Looking at your solution I would create a bead for image. Something like (not tested, needs work): package { Class ImageAvatarBead implements IBead { … private var _avatarSrc:String; private var _strand:IStrand; public function set avatarUrl(value:String):void { _avatarUrl = value