crossOrigin method
This attribute indicates whether CORS must be used when fetching the resource. Read more...
Implementation
Link crossOrigin(String mode, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('crossorigin', mode);
node.attrs!.add(attr);
}
return this;
}