mode property

CommentMode mode
getter/setter pair

mode becomes

  • CommentMode.edit when the comment is in edit mode.
  • CommentMode.reply when the comment will have a form for creating a child comment.
  • CommentMode.none string for nothing.

Implementation

CommentMode mode;