-
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 or an array of image widths in pixels.
Returns
Examples
<AdvancedImage cldImg={img} plugins={[responsive({steps: [800, 1000, 1400]})]} />
Details