formTarget method

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

This attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form. Read more...

Implementation

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