onToggle method
The toggle event fires when the open/closed
state of a <details> element is toggled.
Read more...
Implementation
Details onToggle(Function(Element, Event)? fun) {
if (fun != null) on.call('toggle', fun);
return this;
}
The toggle event fires when the open/closed
state of a <details> element is toggled.
Read more...
Details onToggle(Function(Element, Event)? fun) {
if (fun != null) on.call('toggle', fun);
return this;
}