imageSrcSet method
The imagesrcset attribute is a sourceset attribute that indicates to preload the appropriate resource used by an img element. Read more...
Implementation
Link imageSrcSet(List<String> srcList, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr =
VirtualAttr('imagesrcset', _html.listToCommas(srcList));
node.attrs!.add(attr);
}
return this;
}