JavaScript/jQuery Chat - MessageUpdatingEvent

The argument type in the messageUpdating event.

import { MessageUpdatingEvent } from "devextreme/ui/chat"
Type:

Object

cancel

Allows you to cancel message updating.

Type:

Boolean

|

Promise<Boolean> (jQuery or native)

true, a Promise resolved with true, or a rejected Promise stops message update.
false or a Promise resolved with false or undefined continues message update.

component

The UI component's instance.

Type: Chat

element

The UI component's container.

message

The message to be updated.

Type:

Message

text

The updated text from the input field.

Type:

String