rel method

Area rel(
  1. List<String> typeList, {
  2. bool? removeIf,
})

For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. Read more...

Implementation

Area rel(List<String> typeList, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('rel', _html.listToSpaces(typeList));
    node.attrs!.add(attr);
  }
  return this;
}