HTML5 Canvas 2D Library
 

visAtEnd Library Method

Short Description: Set visibility of associated HTML element after transition

Signature: t.visAtEnd ([v])
Group: HTMLControl
Class: transition Class
 

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

Examples

taccgl.a("testimg").startTime(1).paint().hideAtBegin().visAtEnd().to(500,500,1).start();
RUN
taccgl.a("testimg").startTime(1).paint().hide().visAtEnd().to(500,500,1).start();
RUN
Next Page:transition.opacityAtEnd - Set opacity of associated HTML element after transition
Previous Page: transition.opacityAtBegin - Set opacity of associated HTML element at begin of transition