Class
ScriptEvent

The WebAii representation of a Javascript event object

Definition

Namespace:ArtOfTest.WebAii.Javascript

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
[KnownType(typeof(ScriptUIEvent))]
[KnownType(typeof(CustomScriptEventBase))]
public class ScriptEvent

Inheritance: objectScriptEvent

Derived Classes: CustomScriptEventBaseScriptUIEvent

Constructors

ScriptEvent()

Initializes a new ScriptEvent object.

Declaration

cs-api-definition
public ScriptEvent()

ScriptEvent(string)

Creates a ScriptEvent with the given type and other properties set to default values

Declaration

cs-api-definition
public ScriptEvent(string type)

Parameters

type

string

The type of the event

Properties

CanBubble

Gets / Sets whether this event can bubble

Declaration

cs-api-definition
[DataMember(Name = "canBubble")]
public bool CanBubble { get; set; }

Property Value

bool

IsCancelable

Gets / Sets whether this event can be cancelled

Declaration

cs-api-definition
[DataMember(Name = "cancelable")]
public bool IsCancelable { get; set; }

Property Value

bool

Type

The type of this event, for standard event types. TODO Make it so we can define custom event types

Declaration

cs-api-definition
[DataMember(Name = "type")]
public string Type { get; set; }

Property Value

string