A callback method to be called to check if user is loged-in and in community. if he does loged-in, it cal to the callback with the args. Signature: memberAuth(args, cb)
Callbacks
propName
propType
defaultValue
isRequired
description
onShowPreviousComments
func
-
-
A callback when previous comments requested by the user.
onPreviousReplies
func
-
-
A callback when previous replies requested by the user. onPreviousReplies(nextPage)
onReactionChange
func
-
-
A callback when reaction (like) is clicked onReactionChange(comment, isActive, callBack)
onShowMoreAction
func
-
-
A func that open 'more actions' popup for a comment (or reply) onShowMoreAction(comment, isComment, replyContainerCommentId)
onShowReportedAction
func
-
-
A func that open 'reported action' popup for a comment (or reply) onShowReportedAction(comment)
onCommentAdded
func
-
-
Create a new comment onCommentAdded(content, isTop)
onReplyAdded
func
-
-
Create a new reply onReplyAdded(commentId, rawContent)
updateComment
func
-
-
Update a comment or reply
Settings
propName
propType
defaultValue
isRequired
description
commentsToDisplay
number
5
-
Max number of Comments to display
repliesToDisplay
number
3
-
Max number of Replies to display (per Comment)
textDirection
-
'ltr'
-
Text direction
language
json
{}
-
Language to display
repliesToLoadOnShowMore
-
10
-
Number of Replies to load when clicking 'View more'