Class Index | File Index

Classes


Class minplayer.image

A class to easily handle images.
Defined in: minplayer.image.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
minplayer.image(context, options)
Field Summary
Field Attributes Field Name and Description
 
Reset the constructor.
Method Summary
Method Attributes Method Name and Description
 
clear(callback)
Clears an image.
 
 
load(src)
Loads an image.
 
 
resize(width, height)
Resize the image provided a width and height or nothing.
Class Detail
minplayer.image(context, options)
Parameters:
{object} context
The jQuery context.
{object} options
This components options.
Field Detail
constructor
Reset the constructor.
Method Detail
clear(callback)
Clears an image.
Parameters:
{function} callback
Called when the image is done clearing.

construct()
See:
minplayer.plugin.construct

load(src)
Loads an image.
Parameters:
{string} src
The source of the image to load.

onResize()
See:
minplayer.display#onResize

resize(width, height)
Resize the image provided a width and height or nothing.
Parameters:
{integer} width
(optional) The width of the container.
{integer} height
(optional) The height of the container.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 10 2012 02:13:36 GMT+0100 (CET)