# AcceptSuggestionEvent

typedef

Fired when a user performed an action that should lead to accepting the suggestion.

This event is not fired by default by any component created by `BaseSuggestionThreadView`. If you create a view class extending `BaseSuggestionCommentView`, you should provide a UI element that will fire this event.

<a id="properties">

## Properties

<a id="member-args">

### `args: [ id: string ]`

<a id="member-name">

### `name: 'acceptSuggestion'`

#### Value

`object`

## Fired by

* [BaseSuggestionThreadView#acceptSuggestion](module_track-changes_ui_view_basesuggestionthreadview-BaseSuggestionThreadView.md#event-acceptSuggestion)

---

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