TTMSFNCEdgeWebBrowser.ExecuteJavaScript Method
Executes a JavaScript expression in the current page context.
API unit family: TMSFNCEdgeWebBrowser
Declaring type: TTMSFNCEdgeWebBrowser
Syntax
procedure ExecuteJavaScript(AScript: String; ACompleteEvent: TTMSFNCWebBrowserJavaScriptCompleteEvent = nil; AImmediate: Boolean = False); override;
Parameters
| Name | Description |
|---|---|
AScript |
JavaScript code to execute. |
ACompleteEvent |
Optional callback invoked with the result when execution finishes. |
AImmediate |
When True, executes synchronously if the engine supports it. |