Modals

Modals

new Modals()

Source:
Properties:
Name Type Description
props object
Properties
Name Type Description
activeModal null | string

Indicate which modal is active

modalData object

Additional informations for modal passed trough props on open modal

currentPage string

Indicate current page

destinations object

Destinations information

haveLiveMatches boolean

Is live game started

getRound function

Round API call

getTurboRound function

Turbo Round API call

closeModal function

Close modals

changePage function

Change page

goToLogin function

Redirect to login page

Methods

render() → {view}

Source:
See:

Render

Returns:
Type
view

renderActiveModal() → {view}

Source:

Render view one of existed modal depended on activeModal string

Returns:
Type
view