Skip to content

A Recogito comment thread widget that lets you @-mention users like on Twitter

Notifications You must be signed in to change notification settings

recogito/recogito-comments-mention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recogito Comments-Mention Widget

A Recogito comment thread widget that lets you @-mention users like on Facebook or Twitter.


Screenshot


Run in Development Mode

$ npm start

Build Widget Distribution

$ npm run build

Using 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: 'johndoe@apple.com',
            name: 'John'
          },
          {
            id: '1',
            name: 'Johnny'
          }
        ]

        var r = Recogito.init({
          content: 'content', 
      	  widgets: [
            { widget: recogito.CommentsMention, userSuggestions: users }
          ]
        });
      })();
    </script>
  </body>
</html>

About

A Recogito comment thread widget that lets you @-mention users like on Twitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published