ReplyComposer
Extends:
The ReplyComposer component displays the composer content for replying to a
discussion.
Attrs
- All of the attrs of ComposerBody
discussion
Static Method Summary
| Static Public Methods | ||
| public static |
initAttrs(attrs: *) |
|
Method Summary
| Public Methods | ||
| public |
Get the data to submit to the server when the reply is saved. |
|
| public |
headerItems(): * |
|
| public |
jumpToPreview(e: *) Jump to the preview when triggered by the text editor. |
|
| public |
onsubmit() |
|
Inherited Summary
| From class ComposerBody | ||
| public |
composer: * |
|
| public |
Whether or not the component is loading. |
|
| public |
hasChanges(): String Check if there is any unsaved data. |
|
| public |
Build an item list for the composer's header. |
|
| public |
loaded() Stop loading. |
|
| public |
oninit(vnode: *) |
|
| public abstract |
onsubmit() Handle the submit event of the text editor. |
|
| public |
view(): * |
|
Static Public Methods
public static initAttrs(attrs: *) source
Params:
| Name | Type | Attribute | Description |
| attrs | * |
Public Members
public loading: boolean source
Whether or not the component is loading.
Override:
ComposerBody#loadingPublic Methods
public headerItems(): * source
Build an item list for the composer's header.
Override:
ComposerBody#headerItemsReturn:
| * |
public jumpToPreview(e: *) source
Jump to the preview when triggered by the text editor.
Params:
| Name | Type | Attribute | Description |
| e | * |
Reference
Source
