blocking method

Script blocking(
  1. List<String> operationList, {
  2. bool? removeIf,
})

This attribute explicitly indicates that certain operations should be blocked on the fetching of the script. Read more...

Implementation

Script blocking(List<String> operationList, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr =
        VirtualAttr('blocking', _html.listToCommas(operationList));
    node.attrs!.add(attr);
  }
  return this;
}