1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 08:56:38 +02:00
Files
php-flarum/js/dist-typings/forum/components/EditPostComposer.d.ts
flarum-bot 3d62a6af27 Bundled output for commit d268894e61
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-12-27 19:02:33 +00:00

25 lines
739 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 {Record<string, unknown>}
*/
data(): Record<string, unknown>;
}
import ComposerBody from "./ComposerBody";