new Live()
- Source:
Properties:
| Name | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties
|
Members
state :object
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
collapsedMatches |
object | Key (league-match) indicate is it collapsed or expanded |
Type:
- object
Methods
componentWillUnmount() → {void}
- Source:
Clear all intervals and timeouts
Returns:
- Type
- void
expandSelections(index, leagueId) → {void}
- Source:
Toggle collapse/expand placed selections
Parameters:
| Name | Type | Description |
|---|---|---|
index |
number | |
leagueId |
number |
Returns:
- Type
- void
render() → {view}
- Source:
- See:
Render
Returns:
- Type
- view
renderColapse(placedSelectionsLive, expand) → {view}
- Source:
Render placed selections view
Parameters:
| Name | Type | Description |
|---|---|---|
placedSelectionsLive |
Array | |
expand |
boolean |
Returns:
- Type
- view
renderLive(liveMatches) → {view}
- Source:
Render live matches table view depend on current Live page
Parameters:
| Name | Type | Description |
|---|---|---|
liveMatches |
Array |
Returns:
- Type
- view
renderLiveMatch(match, index, placedSelectionsLive, showLeague, league) → {view}
- Source:
Render one row view
Parameters:
| Name | Type | Description |
|---|---|---|
match |
string | |
index |
number | |
placedSelectionsLive |
Array | |
showLeague |
boolean | |
league |
object |
Returns:
- Type
- view
renderSelctionStatus(colorId) → {view}
- Source:
Render selectionStatus
Parameters:
| Name | Type | Description |
|---|---|---|
colorId |
number |
Returns:
- Type
- view
renderUpdatedColorId(colorId) → {view}
- Source:
Render updated color id on full time
Parameters:
| Name | Type | Description |
|---|---|---|
colorId |
number |
Returns:
- Type
- view