CrossBrowdy - Basic tutorial

Others

More

Here are some other interesting functions:


	//Calls a function once as it was one of the calls of a "symmetric" interval of a series of calls, having in mind the time taken by previous calls:
	CB_symmetricCall(function(timeCalled) { CB_console("Function called!"); }, 1000, "interval_id"); //Similar to 'requestAnimationFrame'.
	
	//Clears the stored last time used by 'CB_symmetricCall' for a given symmetric interval identifier:
	CB_symmetricCallClear("interval_id");

Note that many other features (such as Date.now, Promise, requestAnimationFrame, performance.now, etc.) will be present even when they are not natively supported, using polyfills automatically when needed.

Check the API documentation to read more about some global functions and variables.

Go back to Guides & Tutorials













Share