File tree Expand file tree Collapse file tree
packages/devextreme/js/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ export type InitializedEvent = InitializedEventInfo<dxChat>;
5151 */
5252export type OptionChangedEvent = EventInfo < dxChat > & ChangedOptionInfo ;
5353
54+ /**
55+ * @docid _ui_chat_MainActionButtonClickEvent
56+ * @public
57+ * @type object
58+ * @inherits NativeEventInfo
59+ */
60+ export type MainActionButtonClickEvent = NativeEventInfo < dxChat , InteractionEvent > ;
61+
5462/**
5563 * @docid _ui_chat_MessageEnteredEvent
5664 * @public
@@ -346,6 +354,31 @@ export type EmptyViewTemplateData = {
346354 } ;
347355} ;
348356
357+ /**
358+ * @docid
359+ * @namespace DevExpress.ui.dxChat
360+ * @public
361+ */
362+ export type MainActionButtonProperties = {
363+ /**
364+ * @docid
365+ * @public
366+ */
367+ icon ?: string ;
368+ /**
369+ * @docid
370+ * @public
371+ * @default 'default'
372+ */
373+ behavior ?: 'default' | 'custom' ;
374+ /**
375+ * @docid
376+ * @type_function_param 1 e:{ui/chat:MainActionButtonClickEvent}
377+ * @public
378+ */
379+ onClick : ( ( e : MainActionButtonClickEvent ) => void ) ;
380+ } ;
381+
349382/**
350383 * @deprecated use Properties instead
351384 * @namespace DevExpress.ui
@@ -446,6 +479,12 @@ export interface dxChatOptions extends WidgetOptions<dxChat> {
446479 * @public
447480 */
448481 inputFieldText ?: TextAreaProperties [ 'value' ] ;
482+ /**
483+ * @docid
484+ * @type MainActionButtonProperties
485+ * @public
486+ */
487+ mainActionButtonOptions ?: MainActionButtonProperties ;
449488 /**
450489 * @docid
451490 * @default null
You can’t perform that action at this time.
0 commit comments