new BetslipView()
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
markets |
Array | |
numberOfSelections |
number | not in use |
betslipSettings |
object | |
singleStakes |
Array | |
multipleStake |
string | |
otherStake |
string | |
combiStakes |
Array | |
matches |
Array | |
placeBetErrorMgs |
string | |
isLoadingPlaceBet |
boolean | |
betSlipConfimation |
boolean | |
placebetDisabled |
boolean | |
bonusPercentages |
number | not in use |
bonusOddsThreshold |
string | not in use |
config |
object | |
odds |
object | |
freeBets |
Array | |
type |
string | |
numOfSplitBets |
number | not in use |
maxOdd |
Array | |
minOdd |
Array | |
maxPotWin |
Array | |
minPotWin |
Array | |
error |
boolean | not in use |
stakeInFocus |
number | not in use |
rerender |
boolean | not in use |
showButtons |
boolean | |
openNewPlacedBetsModal |
boolean | not in use |
systemManager |
object | not in use |
combinationTypes |
Array.<string> | |
potWin |
string | |
totalStake |
number | |
bonusAmt |
number | |
percentage |
number | |
gameType |
string | |
placebet |
function | |
changeStakeInput |
function | |
addButton |
function | |
openOtherTypes |
function | |
openFreeBetType |
function | |
selectSingleBet |
function | |
selectMultipleBet |
function | |
setInputInFocus |
function | |
setInputOutOfFocus |
function | |
clearAllSelections |
function | |
closeConfirmation |
function | |
clearSelection |
function | |
closeError |
function | |
toggleBetslipModal |
function | |
clearStake |
function | |
getFreeBetsAmount |
function | |
toggleBetslip |
function | |
placebetRequest |
function | not in use |
toggleSelectedOdds |
function | not in use |
openModal |
function | not in use |
setStakes |
function | not in use |
closePlaceBetErrorMessage |
function | not in use |
closeSlipConfirmation |
function | not in use |
kickOff |
function |
Extends
- RenderMethods
Methods
componentDidUpdate(prevProps) → {void}
- Source:
Recalculate free bets amounts
Parameters:
| Name | Type | Description |
|---|---|---|
prevProps |
object |
Returns:
- Type
- void
getCombiActivityStatus() → {string}
Return css class name for active/inactive combination tab from bottom navigation menu
Returns:
- Type
- string
getFreeBetsActivityStatus() → {string}
Return css class name for active/inactive free bet tab from bottom navigation menu
Returns:
- Type
- string
getMultipleActivityStatus() → {string}
Return css class name for active/inactive multiple tab from bottom navigation menu
Returns:
- Type
- string
getSingleActivityStatus() → {string}
- Source:
Return css class name for active/inactive single tab from bottom navigation menu
Returns:
- Type
- string
hasSameMatchOdds(odds) → {string}
Return TRUE/FALSE depending if in the odds we have multiple selections for one match
Parameters:
| Name | Type | Description |
|---|---|---|
odds |
Array | List of selected odds |
Returns:
- Type
- string
isFreeBet() → {boolean}
Check is Free bets tab selected
Returns:
- Type
- boolean
isNobet() → {boolean}
Check is NO_BET type
Returns:
- Type
- boolean
isSingle() → {boolean}
Check is single tab selected
Returns:
- Type
- boolean
numberOfDifferentMatches(odds) → {string}
Return number of different matches in selected odds
Parameters:
| Name | Type | Description |
|---|---|---|
odds |
Array | List of selected odds |
Returns:
- Type
- string
render() → {view}
MULTIPLE AND OTHER ARE DISABLED IF IS SINGLE BET MULTIPLE IS DISABLED IF IS SPLIT COLUMN IF IS MULTIPLE YOU CAN CHOSE COMBINATION FREE BET IS DESABLED ON SPLIT COLUMN Render
Returns:
- Type
- view
renderContent() → {view}
Render content
Returns:
- Type
- view