Class InputEvent

Class InputEvent

Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML.dll (25.4.0)

Input events are sent as notifications whenever the DOM is being updated.

[DOMObject]
[DOMName("InputEvent")]
[ComVisible(true)]
public class InputEvent : UIEvent, INotifyPropertyChanged

Inheritance

object DOMObject Event UIEvent InputEvent

Implements

INotifyPropertyChanged

Inherited Members

UIEvent.View , UIEvent.Detail , Event.NonePhase , Event.CapturingPhase , Event.AtTargetPhase , Event.BubblingPhase , Event.InitEvent(string, bool, bool) , Event.PreventDefault() , Event.StopPropagation() , Event.StopImmediatePropagation() , Event.Bubbles , Event.Cancelable , Event.CurrentTarget , Event.EventPhase , Event.Target , Event.TimeStamp , Event.Type , Event.DefaultPrevented , Event.IsTrusted , DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

InputEvent(string)

Initializes a new instance of the Aspose.Html.Dom.Events.InputEvent class.

[DOMConstructor]
public InputEvent(string type)

Parameters

type string

The event type.

InputEvent(string, IDictionary<string, object="">)

Initializes a new instance of the Aspose.Html.Dom.Events.InputEvent class.

[DOMConstructor]
public InputEvent(string type, IDictionary<string, object=""> eventInitDict)

Parameters

type string

The event type.

eventInitDict IDictionary < string , object &gt;

The event initialize dictionary.

Properties

Data

The data holds the value of the characters generated by an input method. This MAY be a single Unicode character or a non-empty sequence of Unicode characters [Unicode]. Characters SHOULD be normalized as defined by the Unicode normalization form NFC, defined in [UAX15]. This attribute MAY contain the empty string.

[DOMName("data")]
public string Data { get; }

Property Value

string

IsComposing

true if the input event occurs as part of a composition session, i.e., after a compositionstart event and before the corresponding compositionend event. The un-initialized value of this attribute MUST be false.

[DOMName("isComposing")]
public bool IsComposing { get; }

Property Value

bool </string,></string,>

 English