The dynamic component being shown inside the composer.
A reference to the text editor that allows text manipulation.
The composer's intended height, which can be modified by the user (by dragging the composer handle).
The composer's current position.
Determine whether the body matches the given component class and data.
The component class to check against. Subclasses are accepted as well.
Clear the composer's content component.
Confirm with the user so they don't lose their content, then close the composer.
Check whether or not the user is currently composing a reply to a discussion.
Computed the composer's current height, based on the intended height, and the composer's current state. This will be applied to the composer content's DOM element.
Exit fullscreen mode.
Take the composer into fullscreen mode. Has no effect if the composer is hidden.
Close the composer.
Determine whether or not the Composer is covering the screen.
This will be true if the Composer is in full-screen mode on desktop, or if we are on a mobile device, where we always consider the composer as full-screen..
Determine whether or not the Composer is visible.
True when the composer is displayed on the screen and has a body component. It could be open in "normal" or full-screen mode, or even minimized.
Load a content component into the composer.
Maxmimum height of the Composer.
Minimize the composer. Has no effect if the composer is hidden.
Minimum height of the Composer.
Configure when / what to ask the user before closing the composer.
The provided callback will be used to determine whether asking for confirmation is necessary. If the callback returns true at the time of closing, the provided text will be shown in a standard confirmation dialog.
Confirm with the user that they want to close the composer and lose their content.
Whether or not the exit was cancelled.
Show the composer.
Generated using TypeDoc version 0.22.10