responsive

Description

Updates the src with the size of the parent element and triggers a resize event for subsequent resizing.

Parameters
Name Type Description
steps number | Array.<number>

The step size in pixels. | number[] A set of image sizes in pixels.

Returns
Examples
<AdvancedImage cldImg={img} plugins=[(responsive(100))] plugins=[(responsive([800, 1000, 1400]))] />