OSMViewexecuteJavascript Method Awesomium.NET 1.7.6Awesomium.NET

[This is preliminary documentation and is subject to change.]

Executes JavaScript asynchronously on the main frame of this view (see: ExecuteJavascript(String)).

Namespace: global
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0 (1.7.6.0)
Syntax

JavaScript
function executeJavascript(script);

Parameters

script
Type: String
The string of JavaScript to execute.

Return Value

Type: Boolean
true if the script was successfully posted for execution; false otherwise. This can return false if the method is executed on an invalid OSMView instance or if the native application does not allow JavaScript clients execute JavaScript on views (see: JavascriptViewExecute).
Exceptions

ExceptionCondition
TypeError Not enough arguments.
Remarks

Caution note Caution
This method sends a synchronous IPC message to the hosting application's main process.
See Also

Reference