onReset method

Form onReset(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)

The reset event fires when a <form> is reset. Read more...

Implementation

Form onReset(Function(Element, Event)? fun) {
  if (fun != null) on.call('reset', fun);
  return this;
}