HTML5+CSS on Canvas 3D WebGL (TM) Library
 

opacityAtEnd Library Method

Short Description: Set opacity of associated HTML element after transition

Signature: t.opacityAtEnd ([o])
Group: HTMLControl
Class: transition Class
 

Sets the opacity of the element associated with the current transition after finishing playing this transition. o can be any valid CSS value for the opacity property, e.g. 0, 1, or "". If o is not specified the opacity set to the value of the opacity property had before playing the animation.

Examples

taccgl.a("testimg").startTime(1).paint().opacityAtBegin().opacityAtEnd().to(500,500,1).start(); RUN
taccgl.a("testimg").startTime(1).paint().opacity().opacityAtEnd().to(500,500,1).start(); RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Advanced Visibility Control - Introduction
Previous Page: transition.visAtEnd - Set visibility of associated HTML element after transition
Please Add a Comment or Question, click here!