Comment
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(props: object) Component constructor |
Member Summary
Public Members | ||
public |
divComment: * |
|
public |
|
|
public |
handleCancelEdit(evt: event): * Handle cancel edit |
|
public |
handleDelete(evt: event, id: string, postId: string): * Delete a comment |
|
public |
handleEditComment(evt: event): * Handle show edit comment |
|
public |
handleOnChange(evt: event, data: string): * When comment text changed |
|
public |
handleUpdateComment(evt: event): * Handle edit comment |
|
public |
inputText: * |
|
public |
|
|
public |
textareaRef: * |
Method Summary
Public Methods | ||
public |
|
|
public |
render(): react element Reneder component DOM |