Typedef

RemoveCommentThreadEvent (comments/comments)

@ckeditor/ckeditor5-comments/src/comments/commentsrepository

typedefobject

Fired whenever a comment thread is removed from the comments repository.

The event name includes channelId so it is possible to listen only on changes happening in the specified channel.

const channelId = 'foo';

commentsRepository.on( `removeCommentThread:${ channelId }`, ( evt, data ) => {
	console.log( evt, data );
} );

Filtering

Properties

  • args : tuple

  • name : string

Fired by