rel method

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

Controls the annotations and what kinds of links the form creates. Read more...

Implementation

Form 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;
}