HTML5 Canvas 3D WebGL (TM) javaScript Library
 

foreground Library Method

Short Description: Keep animation canvas in foreground during transition

Signature: t.foreground ()
Group: HTMLControl
Class: transition Class
 

Is used during Background Mode to control the position of the main canvas playing the animation. If foreground was called for a transition, the canvas is pulled into foreground, while the transition is playing.

The canvas moves to background while none of the playing transitions used foreground.

Note that if background mode is not explicitely activated using BgControl animations play in foreground without the need of foreground.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:transition.onBegin - Set action to perform at begin of transition
Previous Page: HTMLControl