WindowexecuteJavascript Method |
Executes JavaScript on the content of the Window
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax public void executeJavascript(
string script,
AckCallback callback = null,
AckCallback errorCallback = null
)
Parameters
- script
- Type: SystemString
JavaScript code to be executed
- callback (Optional)
- Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
- errorCallback (Optional)
- Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails.
The reason for failure is passed as an argument.
See Also