Home Reference Source
public class | source

SelectProject

Extends:

react~PureComponent → SelectProject

React component for selecting list of projects from collection

Member Summary

Public Members
public

handleChange(projectID: Event): *

Fetch the selected scene when the project is selected from the collection

public

Returns wheter the text in the editor match with the savedText

public

renderSelect: *: *

Method Summary

Public Methods
public

render(): *

Public Members

public handleChange(projectID: Event): * source

Fetch the selected scene when the project is selected from the collection

public hasEditorChanged: boolean: * source

Returns wheter the text in the editor match with the savedText

Return:

boolean

true if savedText is different from text in editor, false otherwise.

public renderSelect: *: * source

Return:

*

Returns DOM Elements of drop down list of projects

Public Methods

public render(): * source

Return:

*

Render DOM elements of drop down list of collection