HTML5 Canvas 3D WebGL (TM) js Library

actorHide Library Method

Short Description: Create a new transition and hide element

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.


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

WebGL™ is a trademark of the Khronos Group Inc.

Next - Create a new transition; paint, hide, and show element
Previous Page: taccgl.a - Create a new transition