Members
clearOpenStatisticsInfo
- Source:
Clear selected match statistics keys
state :object
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
collapsedMatches |
Array | Array of collapsed mathes on Correct Score market |
Type:
- object
Methods
componentDidUpdate(prevProps) → {void}
- Source:
Setup component if correct score market is selected
Parameters:
| Name | Type | Description |
|---|---|---|
prevProps |
object |
Returns:
- Type
- void
render() → {view}
- Source:
Render
Returns:
- Type
- view
render1X2OverUnderSelections(oddsPerMatch, i, selectedOddClass) → {view}
- Source:
Render one column of odds in correct score market
Parameters:
| Name | Type | Description |
|---|---|---|
oddsPerMatch |
Array | |
i |
number | |
selectedOddClass |
string |
Returns:
- Type
- view
renderCorrectScore() → {view}
- Source:
Render corect score market view
Returns:
- Type
- view
renderCorrectScoreOddWrap(selections, oddsPerMatch, matchIndex) → {view}
- Source:
Render one column of odds in correct score market
Parameters:
| Name | Type | Description |
|---|---|---|
selections |
Array | |
oddsPerMatch |
Array | |
matchIndex |
number |
Returns:
- Type
- view
renderMatchPlacedSelections(placedSelections, league, matchId) → {view}
- Source:
Render placed selections for a match
Parameters:
| Name | Type | Description |
|---|---|---|
placedSelections |
object | |
league |
number | |
matchId |
number |
Returns:
- Type
- view
renderMultiGoalOdds() → {view}
- Source:
Render odds for Multigoal market
Returns:
- Type
- view
renderMultigoalSelections(oddsPerMatch, i) → {view}
- Source:
Render one column of odds in Multigoal market
Parameters:
| Name | Type | Description |
|---|---|---|
oddsPerMatch |
Array | |
i |
number | index |
Returns:
- Type
- view
renderOdds() → {view}
- Source:
Render Odds
Returns:
- Type
- view
renderOddsTable() → {view}
- Source:
Render odds table view
Returns:
- Type
- view
renderSelections(oddsPerMatch, i) → {view}
- Source:
Render one column of odds in correct score market
Parameters:
| Name | Type | Description |
|---|---|---|
oddsPerMatch |
Array | |
i |
number | index |
Returns:
- Type
- view
renderViewPLacedModal() → {view}
- Source:
Render view placed bet modal
Returns:
- Type
- view
selectedOddIndex(match, selection) → {number}
- Source:
Return odd index in selectedOdds array with passed match and selection ids
Parameters:
| Name | Type | Description |
|---|---|---|
match |
number | |
selection |
number |
Returns:
Index of selected odd in array
- Type
- number
setupCorrectScoreTab() → {void}
- Source:
Devide selections of correct score on 5 arrays to show copy current template. Arrays need to be sorted as it is on current template
Returns:
- Type
- void
toggleExpandForMatch(matchId) → {void}
- Source:
Toggle collapse/expand for passed match
Parameters:
| Name | Type | Description |
|---|---|---|
matchId |
number |
Returns:
- Type
- void
toggleOdds(matchId, selectionId, odd) → {void}
- Source:
Toggle selection of odd
Parameters:
| Name | Type | Description |
|---|---|---|
matchId |
number | |
selectionId |
number | |
odd |
number |
Returns:
- Type
- void
toogleMatchStatistics(key) → {void}
- Source:
Toggle statistics
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | row key |
Returns:
- Type
- void
Type Definitions
props
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
isCorrectScoreSelected |
boolean | |
markets |
Array | |
selectedOdds |
Array | |
selectedLeague |
object | |
selectedMarket |
object | |
odds |
Array | |
matches |
Array | |
showKickOff |
boolean | |
gameType |
string | |
toggleSelectedOdds |
function |
Type:
- object