forked from avoidwork/abaaso
-
Notifications
You must be signed in to change notification settings - Fork 0
loading
avoidwork edited this page Apr 24, 2012
·
1 revision
Loading or spinner icon class, providing an easy way to create spinners on the screen.
$.loading.url = "/assets/spinner.gif";
$("#id").loading();
Renders a loading icon in a target element, with a class of "loading"
@param {Mixed} obj Entity or Array of Entities or $ queries
@return {Mixed} Entity, Array of Entities or undefined
Prototype
Array.prototype.loading Element.prototype.loading
Example
$("#target").loading().get("uri");
Image instance of the url
URL of image to display