FreeBets

FreeBets

new FreeBets()

Source:
Properties:
Name Type Description
props object
Properties
Name Type Description
currency Array

Currency Sign

freeBetStatuses Array

All statuses for bonus

freeBets Array

All Free Bets for bonus

checkPermisson boolean

Check if User has permission to add or delete

activeModal string

Indicate active modal

modalData object

Modal data

isFetched boolean

Is API fetched

filters Array

Filters data

setFilterData function

Filter Free Bets

getFreeBets function

Call API for Free Bets

deleteFreeBet function

Call API to delete free bet

setOpenModal function

Open modal

addFreeBet function

Call API to add new bet

clearFilterData function

Clear Filter Data

Members

add :boolean

Source:
Type:
  • boolean

cancel :boolean

Source:
Type:
  • boolean

defaultFilter :object

Source:
Type:
  • object

filterFields :Array

Description:
  • Filtering Fields Settings

Source:

Filtering Fields Settings

Type:
  • Array

filters :object

Source:
Type:
  • object

initialApiCall :boolean

Source:
Type:
  • boolean

notMandatoryFilters :Array

Description:
  • Filters that are not mandatory

Source:

Filters that are not mandatory

Type:
  • Array

selectedItem :object

Source:
Type:
  • object

showCoupon

Description:
  • Go to Coupons Page

Source:

Go to Coupons Page

state :object

Source:
Properties:
Name Type Description
selectedFreeBetId string
Type:
  • object

Methods

handleConfirmDeleteModal(freebetid) → {void}

Description:
  • Handle Click Confirmation Delete

Source:
Parameters:
Name Type Description
freebetid string
Returns:
Type
void

handleDeleteFreeBet() → {void}

Description:
  • Handle Click to delete free bet

Source:
Returns:
Type
void

loadMore() → {void}

Description:
  • Load more free bets

Source:
Returns:
Type
void

render() → {view}

Description:
  • Render

Source:
Returns:
Type
view