Post
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(props: object) Component constructor |
Member Summary
Public Members | ||
public |
getOpenCommentGroup(open: function): * Set open comment group function on state which passed by CommentGroup component |
|
public |
Close post write |
|
public |
Close share post |
|
public |
Show copy link |
|
public |
handleDelete: * Delete a post |
|
public |
handleOpenComments(evt: event): * Toggle on show/hide comment |
|
public |
Open post write |
|
public |
Open share post |
|
public |
handleVote: * Handle vote on a post |
|
public |
state: {"text": *, "readMoreState": *, "openComments": *, "shareOpen": *, "disableComments": *, "disableSharing": *, "shareTitle": string, "openCopyLink": *, "openPostWrite": *} |
Method Summary
Public Methods | ||
public |
handleReadMore(evt: event) Handle read more event |
|
public |
render(): react element Reneder component DOM |