Class: ProjectView

ProjectView()

This is a base view for projects list loading. It is structured on the premise that a project gets selected to be having its details viewed. The template associated with this view has a placeholder to render the projects with the desired way.

Constructor

new ProjectView()

Since:
  • 2.22.0
Source:

Extends

  • Backbone.View

Methods

getProjectsList()

Call back to initialize the ProjectsList This is used as a callback so that the fetch would happen after the change:token event gets loaded.
Since:
  • 2.22.0
Source:

handleSelectProject(e)

Handles the change event for selecting a project in the dropdown and then render.
Parameters:
Name Type Description
e Event
Since:
  • 2.22.0
Source:

render() → {ProjectView}

Source:
Returns:
Type
ProjectView

setSelectedProject()

Call back to set the selectedProject This is used as a callback to only set the current project on the success of the fetch call.
Since:
  • 2.22.0
Source: