Image Resizer Library
Resizes images with respective aspect ratio.
- Source:
Methods
(static) resize(element, options)
Resize an image element with the provided width and height values.
Parameters:
Name | Type | Description |
---|---|---|
element |
string | Selector string for the image element to be resized. |
options |
object | (optional) This object must contain the "width" and "height" properties. |
- Source: