add_preRun(function(sender, e)) preRun.add(function(sender, e)) remove_preRun(function(sender, e)) preRun.remove(function(sender, e))
The PreRun event handler is useful in situations where Run is called based on a page event.
The Cancel property, when set to true, will cause the Fail event to be called. This is different than the Abort method, which will fail silently and not call any callbacks.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |