MyAccMenu

MyAccMenu

new MyAccMenu()

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

In case of my account section is open selectedMenuItem indicate which section is selected

initialBetsLoaded boolean

Indicate is round API is fatched once

getRound function

Call get round API in case when user automaticaly go on "My Account" section in header from lobby page

Methods

componentDidMount() → {void}

Source:

Add post message listener for height of iframe

Returns:
Type
void

componentWillUnmount() → {void}

Source:

Remove post message listener for height of iframe

Returns:
Type
void

postMessageListener(postMessage) → {void}

Source:

Set heighte to iframe

Parameters:
Name Type Description
postMessage object
Returns:
Type
void

render() → {void}

Source:

Render

Returns:
Type
void