JavascriptBindingSettings.JavascriptBindingApiGlobalObjectName Property (original) (raw)

JavascriptBindingSettingsJavascriptBindingApiGlobalObjectName Property

Version 118.6.80

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

Namespace: CefSharp.JavascriptBinding
Assembly: CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax

public string JavascriptBindingApiGlobalObjectName { get; set; }

public: property String^ JavascriptBindingApiGlobalObjectName { String^ get (); void set (String^ value); }

Property Value

Type: String

Remarks

This object is also accessible through the window property. e.g. window.cefSharp.bindObjectAsync

See Also

Reference