Load event
This event gets executed upon the script being loaded.
This event will be called upon the script initialization / initial load / construction of a Script
object. This event does not have any parameters.
script.handle("onLoad", function () {
// initialize (register) variables / hooks / modules / commands here
}
Last updated