import {CommentBox} from 'ceo-core/application/components/common/rich-editor/note-viewer.js'CommentBox
Extends:
react~React.Component → BaseView → CommentBox
Render the new comment box and container for individual note comments.
Constructor Summary
| Public Constructor | ||
| public |
constructor(props: *) |
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
confirm(e: *) Save a new note comment and fetch any pending updates |
|
| public |
handleEditorChange(raw: *, state: *, name: *) |
|
| public |
onChange(state: *) |
|
| public |
onInputKeyDown(e: *) Handle CMD+Enter to save comment |
|
| public |
render(): * |
|
Inherited Summary
| From class BaseView | ||
| public |
getChildContext(): * |
|
Public Constructors
public constructor(props: *) source
Params:
| Name | Type | Attribute | Description |
| props | * |
Public Methods
public componentDidMount() source
public componentWillMount() source
public componentWillUnmount() source
public confirm(e: *) source
Save a new note comment and fetch any pending updates
Params:
| Name | Type | Attribute | Description |
| e | * |
public handleEditorChange(raw: *, state: *, name: *) source
Params:
| Name | Type | Attribute | Description |
| raw | * | ||
| state | * | ||
| name | * |
public onChange(state: *) source
Params:
| Name | Type | Attribute | Description |
| state | * |
public onInputKeyDown(e: *) source
Handle CMD+Enter to save comment
Params:
| Name | Type | Attribute | Description |
| e | * |