Get a list of controls for a discussion.
The parent component under which the controls menu will be displayed.
Protected
Get controls for a discussion which are destructive (e.g. delete).
Protected
Get controls for a discussion pertaining to moderation (e.g. rename, lock).
Open the reply composer for the discussion. A promise will be returned, which resolves when the composer opens successfully. If the user is not logged in, they will be prompted. If they don't have permission to reply, the promise will be rejected.
Whether or not to scroll down to the last post if the discussion is being viewed.
Whether or not to force a reload of the composer component, even if it is already open for this discussion.
Protected
Get controls for a discussion pertaining to the current user (e.g. reply, follow).
The parent component under which the controls menu will be displayed.
Generated using TypeDoc v0.23.24
The
DiscussionControls
utility constructs a list of buttons for a discussion which perform actions on it.