DocGen 26_1: Chat: sendButtonOptions#8635
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the DevExtreme documentation metadata and adds new API reference topics generated by DocGen for the dxChat send button customization surface.
Changes:
- Added syntax mapping entries for
dxChatsend button-related types/options/events inmetadata/syntax-data.json. - Introduced new API reference topics for
sendButtonOptions,SendButtonProperties,SendButtonClickEvent, andEnums.SendButtonAction.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| metadata/syntax-data.json | Adds framework syntax mappings for SendButtonClickEvent, sendButtonOptions, SendButtonProperties, and SendButtonAction. |
| api-reference/NewTopics/SendButtonProperties/SendButtonProperties.md | New type topic stub for SendButtonProperties. |
| api-reference/NewTopics/SendButtonProperties/action.md | New property topic stub for SendButtonProperties.action (enum-based). |
| api-reference/NewTopics/SendButtonProperties/icon.md | New property topic stub for SendButtonProperties.icon (default icon). |
| api-reference/NewTopics/SendButtonProperties/onClick.md | New callback topic stub for SendButtonProperties.onClick. |
| api-reference/NewTopics/_ui_chat_SendButtonClickEvent/_ui_chat_SendButtonClickEvent.md | New event type topic stub for SendButtonClickEvent. |
| api-reference/10 UI Components/dxChat/1 Configuration/sendButtonOptions.md | New dxChat.Options.sendButtonOptions configuration topic stub. |
| api-reference/_hidden/Enums/SendButtonAction.md | New enum topic stub for SendButtonAction. |
| @@ -0,0 +1,22 @@ | |||
| --- | |||
| id: SendButtonProperties.onClick | |||
| type: function(e) | |||
There was a problem hiding this comment.
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.
| type: function(e) | |
| type: function(e) | undefined | |
| default: undefined |
Requires: