thisFor method

Output thisFor(
  1. List<String> idList, {
  2. bool? removeIf,
})

A list of other elements' ids, indicating that those elements contributed input values to (or otherwise affected) the calculation. Read more...

Implementation

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