Module: Client_ManageGames

Methods

(inner) delete_game(btn) → {Boolean}

Do the delete Post request to the server
Parameters:
Name Type Description
btn Button The Button that was pressed
Source:
Returns:
False to not reload the page
Type
Boolean

(inner) filter_games()

Only show the matched game titles insert in the "search" text
Source:

(inner) get_list_from_games(games)

Parameters:
Name Type Description
games Array.<object> Games need to habe .name property
Source:
Returns:
string html string for

(inner) save_games(form) → {Boolean}

Do the Post request to the server
Parameters:
Name Type Description
form object
Source:
Returns:
False to not reload the page
Type
Boolean

(inner) toggle_game(btn)

Toogle the Checkbox if you click on the image of the game
Parameters:
Name Type Description
btn Button Button to toggle
Source: