fastcomments-typescript
Advanced tools
Comparing version
{ | ||
"name": "fastcomments-typescript", | ||
"version": "1.6.6", | ||
"version": "1.6.7", | ||
"description": "Common FastComments TypeScript Types", | ||
@@ -5,0 +5,0 @@ "author": "winrid", |
@@ -127,2 +127,4 @@ import {Comment} from "./fast-comments-comment"; | ||
onRender?: () => void, | ||
/** Invoked when the comment count changes. **/ | ||
commentCountUpdated?: (newCount: number) => void, | ||
/** Invoked when replying is successful. **/ | ||
@@ -134,2 +136,4 @@ onReplySuccess?: (comment: Comment) => void, | ||
onImageClicked?: (imageSrc: string) => void, | ||
/** Invoked when trying to open a user's profile, like when clicking an avatar. Note that this won't remove the loading spinner, for that you'll have to send a profile-loaded event to the widget. **/ | ||
onOpenProfile?: (userId: string) => void, | ||
/** Disable the image redirect that occurs when clicking an image inside a comment. **/ | ||
@@ -136,0 +140,0 @@ disableImageRedirect?: boolean, |
23654
1.51%538
0.75%