onLoad method
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets, scripts, iframes, and images. Read more...
Implementation
Script onLoad(Function(Element, Event)? fun) {
if (fun != null) on.call('load', fun);
return this;
}