ClassScriptEvent
Class
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:
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
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
IsCancelable
Gets / Sets whether this event can be cancelled
Declaration
cs-api-definition
[DataMember(Name = "cancelable")]
public bool IsCancelable { get; set; }
Property Value