formTarget method

Input formTarget(
  1. String context, {
  2. bool? removeIf,
})

Browsing context for form submission. Read more...

Implementation

Input formTarget(String context, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('formtarget', context);
    node.attrs!.add(attr);
  }
  return this;
}