Home Reference Source Repository
public class | source

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

contains(array,: array,text): boolean

Check if array contains tag text

public

Handle add tag

public

handleDelete(text: *)

Handle delete tag

public

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:

NameTypeAttributeDescription
array, array,text

text

Return:

boolean

boolean - return boolean

public handleAddTag() source

Handle add tag

public handleDelete(text: *) source

Handle delete tag

Params:

NameTypeAttributeDescription
text *

public handleFileSelect(evt: *) source

Handle file selecting

Params:

NameTypeAttributeDescription
evt *

public render(): html source

Loads the course profile

Return:

html

returns course profile depending on type of user

public updateCourse() source

Handle updating course