June 30, 2014
SideComments-js is a UI component to give you Medium.com style comment management on the front-end. It allows users to comment directly on sections of content rather than the boring comment stream on the bottom of the page that we’re so used to. Note that this component only handles the display / user interface of how your comments are presented.
Each paragraph tag has the “commentable-section” class, making it a section which can be commented on after you’ve initialized a new SideComments object and pointed it at the parent element.
Example Code :-
theComments = new SideComments('#commentable-area', currentUser, existingComments);
Created by Eric Anderson
© 2013 jquer.in
Curated By Jay Kanakiya