Click or drag to resize
JSFunction Class

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

Represents a javascript function in the render process to be added as a property to a browser frame's global object or to a JSObject.
Inheritance Hierarchy
SystemObject
  Chromium.WebBrowserJSProperty
    Chromium.WebBrowserJSFunction

Namespace: Chromium.WebBrowser
Assembly: ChromiumWebBrowser (in ChromiumWebBrowser.dll)
Syntax
public class JSFunction : JSProperty

The JSFunction type exposes the following members.

Constructors
  NameDescription
Public methodJSFunction
Creates a new javascript function to be added as a property to a browser frame's global object or to a child object.
Public methodJSFunction(JSInvokeMode)
Creates a new javascript function to be added as a property to a browser frame's global object or to a child object.
Top
Properties
  NameDescription
Public propertyBrowser
The browser this javascript property or the parent javascript object belongs to. May be null if this property or it's parent is still unbound.
(Inherited from JSProperty.)
Public propertyInvokeMode
The invoke mode for this property. See also JSInvokeMode. Changes to the invoke mode will be effective after the next time the browser creates a V8 context for the target frame.
(Inherited from JSProperty.)
Public propertyName
The name of this property. May be null if this property is still unbound.
(Inherited from JSProperty.)
Public propertyParent
The parent javascript object of this property. May be null if this property is still unbound.
(Inherited from JSProperty.)
Public propertyPropertyType
The type of this property.
(Inherited from JSProperty.)
Public propertyWillInvoke
Indicates whether render process callbacks on this javascript property will be executed on the thread that owns the browser's underlying window handle. Depends on the invoke mode and, if invoke mode is inherit, also on the parent object's and/or browser's invoke mode.
(Inherited from JSProperty.)
Top
Events
  NameDescription
Public eventExecute
Javascript callback event for this function.
Top
See Also