1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 18:51:40 +02:00
Files
php-flarum/js/dist-typings/forum/components/EditPostComposer.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

25 lines
705 B
TypeScript

/**
* The `EditPostComposer` component displays the composer content for editing a
* post. It sets the initial content to the content of the post that is being
* edited, and adds a header control to indicate which post is being edited.
*
* ### Attrs
*
* - All of the attrs for ComposerBody
* - `post`
*/
export default class EditPostComposer extends ComposerBody {
static initAttrs(attrs: any): void;
/**
* Jump to the preview when triggered by the text editor.
*/
jumpToPreview(e: any): void;
/**
* Get the data to submit to the server when the post is saved.
*
* @return {Object}
*/
data(): Object;
}
import ComposerBody from "./ComposerBody";