}
}
}
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
er(event:Event):void {
>
>
>
> var imgEle:HTMLImageElement = hostElement as HTMLImageElement;
>
> if (imgEle.src != _altSrc)
>
> {
>
> imgEle.src = _altSrc;
>
> }
>
> }
>
>
c != _altSrc)
>
> {
>
> imgEle.src = _altSrc;
>
> }
>
> }
>
>
>
> COMPILE::JS
>
> *protected* *function* *get* hostElement():WrappedHTMLElement
>
> {
>
> *retu
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
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
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
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)
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