com.aspose.html.dom.events

Class InputEvent

    • Constructor Detail

      • InputEvent

        public InputEvent(String type)

        Initializes a new instance of the InputEvent class.

        Parameters:
        type - The event type.
      • InputEvent

        public InputEvent(String type,
                          InputEvent.InputEventInit eventInitDict)

        Initializes a new instance of the InputEvent class.

        Parameters:
        type - The event type.
        eventInitDict - The event initialize dictionary.
    • Method Detail

      • getData

        @DOMNameAttribute(name="data")
        public String getData()

        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.

        Value: The event data.
      • isComposing

        @DOMNameAttribute(name="isComposing")
        public boolean 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.

        Value: true if this instance is composing; otherwise, false.