LazySizesImageExtension::createResponsiveSet
Requires the necessary JS and sends the required HTML structure to the template for a responsive image set
Signature
protected function createResponsiveSet(array
$config,
array
$args,
string
$method )
Parameters
$config
—
array
- The configuration of the responsive image set from the config
$args
—
array
- The arguments passed to the responsive image method, e.g. $MyImage.ResponsiveSet1(800x600)
$method
—
string
- The method, or responsive image set, to generate
Returns
- SSViewer