Skip to content

mtharrison/bsprite-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

bsprite-client

A browser library for working with bsprites

##Public methods

BSprite.getImages Requests a sprite package of images

BSprite.getImages = function(url, callback)

##Usage

Example of loading a named sprite package of images and appending them to the document

var images = BSprite.getImages('http://127.0.0.1:8080/images', function(images){
    for(var i = 0; i < images.length; i++){
        document.body.appendChild(images[i]);
    }
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published