PostWrite
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(props: object) Component constructor |
Member Summary
Public Members | ||
public |
|
|
public |
handleOnChange(evt: event, data: string): * When the post text changed |
|
public |
|
|
public |
handlePost(evt: event): * Handle send post to the server |
|
public |
Romove the image of post |
|
public |
Toggle comments of the post to disable/enable |
|
public |
Toggle sharing of the post to disable/enable |
|
public |
|
|
public |
state: {"postText": *, "image": *, "imageFullPath": *, "galleryOpen": *, "disabledPost": boolean, "disableComments": *, "disableSharing": *} |
Method Summary
Public Methods | ||
public |
componentWillReceiveProps(nextProps: *) |
|
public |
render(): react element Reneder component DOM |