3.0.0 • Published 8 months ago
@brendangooch/image-sprite v3.0.0
image-sprite
a really simple javascript class that takes an image element and the number of rows and columns and translates them into x, y, width and height values, depending on which column and row is selected