Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valine有事件回调机制吗?想在提交评论成功能触发回调,做些其他处理 #431

Closed
yangyongzhen opened this issue Nov 30, 2023 · 2 comments

Comments

@yangyongzhen
Copy link

您好,Valine很不错。但是我翻遍文档没找到相关的话题。
想问下Valine有事件回调机制吗?想在提交评论成功能触发回调,做些其他处理。
如提交评论成功后,可以在回调事件里向后台发个消息告知后台。

目前Valine好像没有暴露出来事件接口,
希望有类似 onCommentSubmitted的回调接口,这样在外层,提交评论成功能触发可以做些其他处理。

@bnEars
Copy link

bnEars commented Mar 5, 2024

自己动手丰衣足食兄弟
image

@xCss
Copy link
Owner

xCss commented Jul 23, 2024

已添加,请参考v1.5.2

@xCss xCss closed this as completed Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants