formAction method

Input formAction(
  1. String url, {
  2. bool? removeIf,
})

URL to use for form submission. Read more...

Implementation

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