Files
cs5890_data_visualization/hw4/js/infoPanel.js
2019-09-26 10:44:32 -06:00

28 lines
670 B
JavaScript

/** Class implementing the infoPanel view. */
class InfoPanel {
/**
* Creates a infoPanel Object
*/
constructor() {
}
/**
* Update the info panel to show info about the currently selected world cup
* @param oneWorldCup the currently selected world cup
*/
updateInfo(oneWorldCup) {
// ******* TODO: PART III *******
// Update the text elements in the infoBox to reflect:
// World Cup Title, host, winner, runner_up, and all participating teams that year
// Hint: For the list of teams, you can create an list element for each team.
// Hint: Select the appropriate ids to update the text content.
//Set Labels
}
}