Methods
changeSelectedLeague(league, type, index) → {void}
Change selected league
Parameters:
| Name | Type | Description |
|---|---|---|
league |
object | |
type |
string | Can be 'Classic' or 'Turbo' |
index |
number | Selected league index |
Returns:
- Type
- void
render() → {view}
Render
Returns:
- Type
- view
Type Definitions
props
Properties:
| Name | Type | Description |
|---|---|---|
isLeagueSelectionOpen |
boolean | |
turbo |
boolean | |
leagues |
Array | |
cnt |
string | |
currentPage |
string | |
user |
object | |
gameType |
string | |
selectedLeagueIndex |
number | |
toggleLeagueSelectionModal |
function | Close Account menu and Bonus |
setSelectedLeague |
function |
Type:
- object