Constructor
new ScoresComponent()
Extends
- Component
Members
column_defs :Array.<object>
Column definitions for the matchups grid.
Type:
- Array.<object>
current_week :number
The number of the current week shown in the interface
Type:
- number
data :Array.<object>
The currently shown week's data.
Type:
- Array.<object>
max_week :number
Most recent week number.
Type:
- number
min_week :number
Least recent week number.
Type:
- number
week_x_data :Array.<Array.<object>>
Array of arrays of data for each week with first item being week 1, second being week 2, &c.
Type:
- Array.<Array.<object>>
Methods
to_next_week()
When called, advances the data to the next-most recent week, if one exists.
to_previous_week()
When called, advances the data to the next-least recent week, if one exists.
(async) vue_on_create() → {Promise.<void>}
Called when the component is instantiated. Initializes the current week to the most recent week.
Returns:
- Type
- Promise.<void>