onSubmit method
The submit event fires when a <form> is submitted.
Read more...
Implementation
Form onSubmit(Function(Element, Event)? fun) {
if (fun != null) on.call('submit', fun);
return this;
}
The submit event fires when a <form> is submitted.
Read more...
Form onSubmit(Function(Element, Event)? fun) {
if (fun != null) on.call('submit', fun);
return this;
}