OK, I am now using the deprecated qx.fx with the events and that works 
well. Thanks.

Can we expect events to come to qx.bom.element.Animation class? I 
suspect that those would be necessary before qx.bom.element.Animation 
can completely replace qx.fx.

Simon


On 05/14/2012 05:54 PM, Simon Walter wrote:
> Sorry, I should have been more specific. I am using the
> qx.bom.element.Animation class. I'm animating an HTML element, not a
> widget like so:
> ---------------
> var overlay = qx.bom.Element.create("div");
> qx.bom.element.Style.setStyles(overlay, overlayStyle);
>
> var animationMap = {
>       "duration": 5000,
>       "keep": 100,
>       "keyFrames": {
>           0 : {"opacity": 1},
>           100 : {"opacity": 0}
>           },
>           "origin": "50% 50%",
>           "repeat": 1,
>           "timing": "ease-in",
>           "alternate": false,
>           "reverse": false
> };
> qx.bom.element.Animation.animate(overlay, animationMap);
> ---------------
>
> Cheers,
>
> Simon
>
> On 05/14/2012 02:58 PM, Martin Wittemann wrote:
>> Hey,
>> are you using the qx.bom.element.Animation class or do you speak of the 
>> already deprecated qx.fx layer?
>> Regards,
>> Martin
>>
>> Am 14.05.2012 um 06:06 schrieb Simon Walter:
>>
>>> Hi,
>>>
>>> I want to destroy an HTML element after I've animated the opacity to 0
>>> (fade-out). I was thinking that an "animationend" event would allow me
>>> to do that. However, I cannot find such functionality. How could I
>>> achieve that?
>>>
>>> Simon
>>>
>>> --
>>> simonsmicrophone.com
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


-- 
simonsmicrophone.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to