Click or drag to resize

JavascriptBindingSettings Class

Version 101.0.180
Javascript Binding Settings
Inheritance Hierarchy
SystemObject
  FreezableBase
    CefSharp.JavascriptBindingJavascriptBindingSettings

Namespace:  CefSharp.JavascriptBinding
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public class JavascriptBindingSettings : FreezableBase

The JavascriptBindingSettings type exposes the following members.

Constructors
  NameDescription
Public methodJavascriptBindingSettings
Initializes a new instance of the JavascriptBindingSettings class
Top
Properties
  NameDescription
Public propertyAlwaysInterceptAsynchronously
Public propertyJavascriptBindingApiEnabled
The Javascript methods that CefSharp provides in relation to JavaScript Binding are created using a Global (window) Object. Settings this property allows you to disable the creation of this object. Features like EvaluateScriptAsPromiseAsync that rely on the creation of this object will no longer function.
Public propertyJavascriptBindingApiGlobalObjectName
The Javascript methods that CefSharp provides in relation to JavaScript Binding are created using a Global (window) Object. Settings this property allows you to customise the name of this object. If not specified then both cefSharp and CefSharp objects will be created e.g. cefSharp.bindObjectAsync, CefSharp.BindObjectAsync. If specified then your custom name will be used, if the name starts with a lowercase letter then all the functions will be lowercase, e.g. myObjName.bindObjectAsync otherwise the functions will start with a uppercase letter e.g. MyObjName.BindObjectAsync
Public propertyLegacyBindingEnabled
Objects registered using Register(String, Object, Boolean, BindingOptions) will be automatically bound when a V8Context is created. (Soon as the Javascript context is created for a browser). This behaviour is like that seen with Javascript Binding in version 57 and earlier.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also