Class
CustomScriptEventBase

Base class for our clients to create custom Javascript events from. Subclasses should implement their properties or whatever to set key-value pairs in the internal dictionary, the contents of which will be used to create the Javascript object passed to the event handler in the browser. TODO We probably want to change the dictionary to hold javascript objects instead of strings

Definition

Namespace:ArtOfTest.WebAii.Javascript

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class CustomScriptEventBase : ScriptEvent

Inheritance: objectScriptEventCustomScriptEventBase

Inherited Members ScriptEvent.CanBubbleScriptEvent.IsCancelableScriptEvent.Type

Constructors

CustomScriptEventBase()

Declaration

cs-api-definition
protected CustomScriptEventBase()

Properties

Internal

Gets / Sets the list of custom fields.

Declaration

cs-api-definition
[DataMember(Name = "customFields")]
public Dictionary<string, string> Internal { get; set; }

Property Value

Dictionary<string, string>

this[string]

Gets / Sets the value at the specified key.

Declaration

cs-api-definition
public string this[string key] { get; set; }

Parameters

key

string

The key to get the value of.

Property Value

string

A value.