Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
id: dxChat.Options.sendButtonOptions
type: SendButtonProperties
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
12 changes: 12 additions & 0 deletions api-reference/10 UI Components/dxChat/9 Types/SendButtonAction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
id: Enums.SendButtonAction
acceptValues: 'send' | 'custom'
type: Union
references: SendButtonProperties.action
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
uid: ui/chat:SendButtonClickEvent
module: ui/chat
export: SendButtonClickEvent
type: Object
inherits: NativeEventInfo
references: SendButtonProperties.onClick
generateTypeLink:
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
id: SendButtonProperties
module: ui/chat
export: SendButtonProperties
type: Object
generateTypeLink:
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
id: SendButtonProperties.action
type: Enums.SendButtonAction
default: 'send'
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
id: SendButtonProperties.icon
type: String
default: 'arrowright'
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
id: SendButtonProperties.onClick
type: function(e)

Copilot AI Apr 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The front matter for this callback option is missing a documented default value and uses type: function(e) only. In this repo, event/callback options typically include a default: and often document | undefined (for example, dxChat.Options.onTypingEnd uses type: function(e) | undefined + default: undefined, and dxButton.Options.onClick includes default: null). Please align this topic’s front matter with the established pattern by adding the correct default and (if applicable) updating the type to include | undefined to match the actual API behavior.

Suggested change
type: function(e)
type: function(e) | undefined
default: undefined

Copilot uses AI. Check for mistakes.
---
---
##### shortDescription
<!-- Description goes here -->

##### param(e): ui/chat:SendButtonClickEvent
<!-- Description goes here -->

##### field(e.component): {WidgetName}
<!-- Description goes here -->

##### field(e.element): DxElement
<!-- Description goes here -->

##### field(e.event): event
<!-- Description goes here -->

---
<!-- Description goes here -->
19 changes: 19 additions & 0 deletions metadata/syntax-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,11 @@
"react": "_ui_chat_OptionChangedEvent",
"vue": "Dx_ui_chat_OptionChangedEvent"
},
"_ui_chat_SendButtonClickEvent": {
"angular": "dxo-ui-chat--send-button-click-event",
"react": "_ui_chat_SendButtonClickEvent",
"vue": "Dx_ui_chat_SendButtonClickEvent"
},
"_ui_chat_TypingEndEvent": {
"angular": "dxo-ui-chat--typing-end-event",
"react": "_ui_chat_TypingEndEvent",
Expand Down Expand Up @@ -10344,6 +10349,9 @@
"dxChatOptions.reloadOnChange": {
"vue": "reload-on-change"
},
"dxChatOptions.sendButtonOptions": {
"vue": "send-button-options"
},
"dxChatOptions.showAvatar": {
"vue": "show-avatar"
},
Expand Down Expand Up @@ -21478,6 +21486,9 @@
"enums.SelectionSensitivity": {
"vue": "selection-sensitivity"
},
"enums.SendButtonAction": {
"vue": "send-button-action"
},
"enums.SeriesHoverMode": {
"vue": "series-hover-mode"
},
Expand Down Expand Up @@ -23203,6 +23214,14 @@
"selectionConfiguration.showCheckBoxesMode": {
"vue": "show-check-boxes-mode"
},
"sendButtonProperties": {
"angular": "dxo-send-button-properties",
"react": "SendButtonProperties",
"vue": "DxSendButtonProperties"
},
"sendButtonProperties.onClick": {
"vue": "@click"
},
"smartPasteInfo.aiResult": {
"angular": "dxo-ai-result",
"react": "AiResult",
Expand Down
Loading