@recogito/recogito-comments-mention
v0.1.0
Published
A Recogito comment thread widget that lets you @-mention users like on Twitter
Readme
Recogito Comments-Mention Widget
A Recogito comment thread widget that lets you @-mention users like on Facebook or Twitter.

Run in Development Mode
$ npm startBuild Widget Distribution
$ npm run buildUsing the plugin
<html>
<head>
<script src="recogito.min.js"></script>
<script src="recogito-comments-mention.min.js"></script>
</head>
<body>
<script type="text/javascript">
(function() {
let users = [
{
id: '[email protected]',
name: 'John'
},
{
id: '1',
name: 'Johnny'
}
]
var r = Recogito.init({
content: 'content',
widgets: [
{ widget: recogito.CommentsMention, userSuggestions: users }
]
});
})();
</script>
</body>
</html>