Skip to content

Commit

Permalink
fix: 增加mention COMPLETED事件回调参数及签名
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyongli committed Sep 26, 2018
1 parent a567edb commit e29e22b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion document/mention.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ mention.on(Mention.events.SEARCHBEFORE, () => {})
// 搜索后
mention.on(Mention.events.SEARCHAFTER, () => {})
// 确认
mention.on(Mention.events.COMPLETED, () => {})
mention.on(Mention.events.COMPLETED, (data: {
type: 'user' | 'file',
data: User | File
}) => {})
// 下拉框显示
mention.on(Mention.events.SHOW, () => {})
// 下拉框隐藏
Expand Down

0 comments on commit e29e22b

Please sign in to comment.