headers method

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

This attribute contains a list each corresponding to the id attribute of the <th> elements that apply to this element. Read more...

Implementation

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