Previous topicNext topic
Help > Events >
JSAsyncResult

JSAsyncResult Event

Fired on return from a Javascript function called asynchronously by the RunJsAsync function.

Syntax

Private Sub object_JSAsyncResult(Result As Variant, Token As Currency, ErrString As String)

The JSAsyncResult event syntax has these parts:

Element Description
Object The object placeholder represents an OrdoWebView2 control
Result Variant. the result of the Javascript function called asynchronously
Token Currency. The token used to identify the Javascript function called asynchronously. This Token is provided when calling the RunJsAsync function
ErrString String. The JavaScript error label, if the function failed