fastcomments-typescript
Advanced tools
Comparing version
{ | ||
"name": "fastcomments-typescript", | ||
"version": "2.0.17", | ||
"version": "2.0.18", | ||
"description": "Common FastComments TypeScript Types", | ||
@@ -5,0 +5,0 @@ "author": "winrid", |
@@ -186,2 +186,6 @@ import {FastCommentsWidgetComment} from "./fast-comments-comment"; | ||
onCommentFlagged?: (userId: string, comment: FastCommentsWidgetComment, isFlagged: boolean) => void, | ||
/** Invoked when a user edits a comment. userId is the user doing the editing, and comment is the comment that was edited. **/ | ||
onCommentEdited?: (userId: string, comment: FastCommentsWidgetComment) => void, | ||
/** Invoked when a user deletes a comment. userId is the user doing the deleting, and comment is the comment that was deleted. **/ | ||
onCommentDeleted?: (userId: string, comment: FastCommentsWidgetComment) => void, | ||
/** Invoked when a user submits a comment. You must invoke the passed continue or cancel callbacks. Supports async behavior. **/ | ||
@@ -188,0 +192,0 @@ onCommentSubmitStart?: (comment: FastCommentsWidgetComment, continueSubmitFn: () => void, cancelFn: () => void) => void, |
39188
1.1%871
0.46%