Header menu logo fable-electron-docs-api

ExecutionScript Type

Constructors

Constructor Description

ExecutionScript(func, ?args)

Full Usage: ExecutionScript(func, ?args)

Parameters:
    func : obj -> obj - A JavaScript function to execute. This function will be serialized which means that any bound parameters and execution context will be lost.
    ?args : obj[] - An array of arguments to pass to the provided function. These arguments will be copied between worlds in accordance with the table of supported types.

Returns: ExecutionScript
func : obj -> obj

A JavaScript function to execute. This function will be serialized which means that any bound parameters and execution context will be lost.

?args : obj[]

An array of arguments to pass to the provided function. These arguments will be copied between worlds in accordance with the table of supported types.

Returns: ExecutionScript

Instance members

Instance member Description

this.args

Full Usage: this.args

An array of arguments to pass to the provided function. These arguments will be copied between worlds in accordance with the table of supported types.

this.func

Full Usage: this.func

A JavaScript function to execute. This function will be serialized which means that any bound parameters and execution context will be lost.

Type something to start searching.