Reference Source
import ReplyComposer from 'flarum/components/ReplyComposer.js'
public class | source

ReplyComposer

Extends:

flarum/components/ComposerBody~ComposerBody → ReplyComposer

The ReplyComposer component displays the composer content for replying to a discussion.

Props

  • All of the props of ComposerBody
  • discussion

Static Method Summary

Static Public Methods
public static

initProps(props: *)

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

Get the data to submit to the server when the reply is saved.

public
public

Static Public Methods

public static initProps(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Constructors

public constructor() source

Public Members

public loading: boolean source

Public Methods

public data(): Object source

Get the data to submit to the server when the reply is saved.

Return:

Object

public headerItems(): * source

Return:

*

public onsubmit() source