-
Notifications
You must be signed in to change notification settings - Fork 1.3k
DocGen 26_1: Chat: sendButtonOptions #8635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
api-reference/10 UI Components/dxChat/1 Configuration/sendButtonOptions.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
12
api-reference/10 UI Components/dxChat/9 Types/SendButtonAction.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 --> |
15 changes: 15 additions & 0 deletions
15
...ce/10 UI Components/dxChat/9 Types/SendButtonClickEvent/SendButtonClickEvent.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 --> |
13 changes: 13 additions & 0 deletions
13
...ce/10 UI Components/dxChat/9 Types/SendButtonProperties/SendButtonProperties.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 --> |
11 changes: 11 additions & 0 deletions
11
api-reference/10 UI Components/dxChat/9 Types/SendButtonProperties/action.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 --> |
11 changes: 11 additions & 0 deletions
11
api-reference/10 UI Components/dxChat/9 Types/SendButtonProperties/icon.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 --> |
22 changes: 22 additions & 0 deletions
22
api-reference/10 UI Components/dxChat/9 Types/SendButtonProperties/onClick.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| id: SendButtonProperties.onClick | ||
| type: function(e) | ||
| --- | ||
| --- | ||
| ##### 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 --> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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 adefault:and often document| undefined(for example,dxChat.Options.onTypingEndusestype: function(e) | undefined+default: undefined, anddxButton.Options.onClickincludesdefault: null). Please align this topic’s front matter with the established pattern by adding the correctdefaultand (if applicable) updating the type to include| undefinedto match the actual API behavior.