import ContentCourseUpdate from 'learnenergy401/component/Profile/ContentCourseUpdate.js'
ContentCourseUpdate
Extends:
react~Component → ContentCourseUpdate
Method Summary
Public Methods | ||
public |
Invoked immediately after a component is mounted, to get text on textfield |
|
public |
Invoked immediately before a component is mounted, to get our state to current course |
|
public |
Check if array contains tag text |
|
public |
Handle add tag |
|
public |
handleDelete(text: *) Handle delete tag |
|
public |
handleFileSelect(evt: *) Handle file selecting |
|
public |
render(): html Loads the course profile |
|
public |
Handle updating course |
Public Methods
public componentDidUpdate() source
Invoked immediately after a component is mounted, to get text on textfield
public componentWillMount() source
Invoked immediately before a component is mounted, to get our state to current course
public contains(array,: array,text): boolean source
Check if array contains tag text
Params:
Name | Type | Attribute | Description |
array, | array,text | text |
public handleFileSelect(evt: *) source
Handle file selecting
Params:
Name | Type | Attribute | Description |
evt | * |
public render(): html source
Loads the course profile
Return:
html | returns course profile depending on type of user |