Members
clear
Clear timer
state :object
Properties:
| Name | Type | Description |
|---|---|---|
time |
string | Time to next live game showen in topbar |
Type:
- object
Methods
liveFinished() → {void}
Call tickets if user is on bet history page, handle showing live in bottom menu
Returns:
- Type
- void
render() → {view}
Render
Returns:
- Type
- view
setTime(roundEnd, liveStart) → {void}
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