HTML5 CSS on Canvas Animation Library
 

mClass Library Method

Short Description: Returns an animation set with all elements of a class

Signature: taccgl.mClass (cl,k)
Class: taccgl Class
 

Returns an animation set object containing a transition for each HTML element of the current document having the specified class cl. These new transitions are newly created using the a method.

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

Examples

var a=taccgl.mClass("simpa").paint().rotate (200,0,0,0,1,0).color("red").hide().visAtEnd().start(); RUN
var a=taccgl.mClass("simpa").paint().to (0,0,0).color("red").start(); RUN
var a=taccgl.ma("pgMiddleColumnTable").paint().to (0,0,0).start(); RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccgl.mName - Returns an animation set with all elements of given name
Previous Page: taccgl.ma - Returns an animation set with single transition
Please Add a Comment or Question, click here!