new GamesSettingsShop(navigate)
Properties:
| Name | Type | Description |
|---|---|---|
gamesShopSettings |
Array | All games shop settings data |
checkPermisson |
boolean | Check if user have permission for specific action or view |
currency |
string | Currency sign |
activeModal |
string | Active modal |
modalData |
object | Modal data |
getGamesShopSettings |
function | Call API for games shop settings |
setOpenModal |
function | Open modal |
nextNavigationLink |
object | link for navigation |
setNavigationInfo |
function | set navigation info for unsaved data |
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
navigate |
Properties
|
Methods
(inner) handleInputChange(field, e, customValue) → {void}
- Description:
Handle change on inputs
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
field |
object | |
e |
Event | |
customValue |
any |
Returns:
- Type
- void
(inner) handleMultipleBonusChange(e) → {void}
- Description:
Handle change on multiple bonus inputs
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Event |
Returns:
- Type
- void
(inner) handleRoundShiftValidation(fieldName) → {void}
- Description:
Handle validation for round shift fields
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
fieldName |
string |
Returns:
- Type
- void
(inner) handleRoundShitsChange(e) → {void}
- Description:
Handle change on roundShifts
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Event |
Returns:
- Type
- void
(inner) processErrorMessages(validationParams) → {object}
Parameters:
| Name | Type | Description |
|---|---|---|
validationParams |
object |
Returns:
- Type
- object
(inner) refresh() → {void}
- Description:
Load original data
- Source:
Returns:
- Type
- void
(inner) renderButtons() → {view}
- Description:
Render buttons
- Source:
Returns:
- Type
- view
(inner) renderInputSettings(field, key) → {view}
- Description:
Render all imput settings fields
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
field |
object | |
key |
string |
Returns:
- Type
- view
(inner) renderMultipleBoost() → {view}
- Description:
Render multiple boost input
- Source:
Returns:
- Type
- view
(inner) saveProcess()
- Description:
Save process - validation before save
- Source:
(inner) unsavedNavigation() → {void}
- Description:
close modal and navigate
- Source:
Returns:
- Type
- void