HTML5 Canvas 3D WebGL (TM) javaScript Library
 

actorHide Library Method

Signature: taccgl.actorHide (el,[k])
Class: taccgl Class
 

Create a new transition for the HTML element el. el might be a DOM node or a string which denotes the id of the desired HTML element.

The method returns a new transition object. You need to call its various methods to clearly define its function. Read about taccgl Transitions in general and Transition Class explaining these methods in detail.

The HTML element will automatically be hidden before the complete animation and stay hidden afterwards. paint is done automatically.

By specifying parameter k a kind (see ) can be assigned to the transition created.

Examples

var a=taccgl.actorHide("testimg").paint().to (0,0,0).start();
RUN
var a=taccgl.actor("testimg").paint().from (0,0,0).start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Blog
Previous Page: