# UIRemoveCommentEvent

typedef

Fired when a user performed an action that should lead to removing a comment.

This event is not fired by default by any component created by [`BaseCommentView`](module_comments_comments_ui_view_basecommentview-BaseCommentView.md). If you create a view class extending [`BaseCommentView`](module_comments_comments_ui_view_basecommentview-BaseCommentView.md) you should provide a UI element that will fire this event.

<a id="properties">

## Properties

<a id="member-args">

### `args: [ commentId: string ]`

<a id="member-name">

### `name: 'removeComment'`

#### Value

`object`

## Fired by

* [BaseCommentView#removeComment](module_comments_comments_ui_view_basecommentview-BaseCommentView.md#event-removeComment)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
