ch.Preload (Class)
Documentation updated on Fri May 18 2012 12:47:10 GMT-0300 (GMT-03:00), generated by JsDoc Toolkit 2.4.0
Contents
Overview
Pre-load is an utility to preload images on browser's memory.
- Constructor name: ch.Preload(arr, str)
- View source on GitHub.
Summary
Classdetail
Parameters
-
arr: array, Optional. Collection of image sources -
str: string, Optional. A single image source
Examples
ch.preload(["img1.jpg","img2.jpg","img3.png"]);
ch.preload("logo.jpg");