Tickets

Tickets

new Tickets()

Source:
Properties:
Name Type Description
props object
Properties
Name Type Description
tickets string

All tickets information

initialBetsLoaded string

Indicate is round API is fatched once

initialTurboBetsLoaded string

Indicate is Turbo round API is fatched once

currentPage string

Indicate current page

selectedTicket string

Selected ticket information

leagues string

All leagues information

betsPending boolean

Indicate is tickets API is fatched

scrollTo number

Indicate numer of pixels to scroll when user come back from ticket details page on tickets list page. Scroll to last previewed ticket

ticketDates Array

Array of all dates from ticket list page

bonusPercentages number

Config form API

bonusOddsThreshold Array

Config form API

gameType string

Game type Classic/Turbo

getRound function

Call get round API in case when user automaticaly go on "My Bets" in header account option from lobby page

getRoundTurbo function

Call API for turbo round

getTickets function

Call API for tickets

clearMyBets function

Clear tickets array

selectTicket function

Get ticket details

changePage function

Change page

setScrollPosition function

set position of scrollable element

Methods

componentDidMount() → {void}

Source:

Get initial tickets

Returns:
Type
void

componentWillUnmount() → {void}

Source:

Clearing tickets array

Returns:
Type
void

render() → {view}

Source:
See:

Render

Returns:
Type
view