TopBar/BetsCountDown

Members

clear

Source:

Clear timer

state :object

Source:
Properties:
Name Type Description
time string

Time to next live game showen in topbar

Type:
  • object

Methods

liveFinished() → {void}

Source:

Call tickets if user is on bet history page, handle showing live in bottom menu

Returns:
Type
void

render() → {view}

Source:

Render

Returns:
Type
view

setTime(roundEnd, liveStart) → {void}

Source:

Calculate time to next live game, disabling placebet and open no betting time modal

Parameters:
Name Type Description
roundEnd Time
liveStart Time
Returns:
Type
void

Type Definitions

props

Source:
Properties:
Name Type Description
noBettingTimeCountdown number
liveMatchDuration number
currentPage string
placebetDisabled boolean
noBettingTime number
selectedLeague object
isLeagueSelectionOpen boolean
haveLiveMatches boolean
gameType string
openModal function
liveFinished function
getTickets function
disablePlacebet function
toggleLeagueSelectionModal function
Type:
  • object