Skip to main content

WidgetFunction

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

Represents a JavaScript function attached to the widget on the browser.

public class WidgetFunction

Refer to "this" in the context of the function to target the wisej.web.Widget instance, and to "this.widget" to refer to the third party widget. See WidgetFunctions.

Constructors​

Instance member WidgetFunction()​

Initializes a new instance of WidgetFunction.

Properties​

Instance member Name​

String: Returns or sets the name of the WidgetFunction, used to call it and to refer to it in the options. (Default: "")

Instance member Source​

String: Returns or sets the body of the JavaScript function. The arguments are available through the arguments object, or by the names declared in the option that refers to the function, i.e. "(e)=>name".