Chico UI

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

Overview

Pre-load is an utility to preload images on browser's memory.

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");