A base class for the AddGame popup dialog

Hierarchy

  • AddGameDialog

Constructors

Properties

Methods

Constructors

  • The constructor for the AddGameDialog class

    Parameters

    • router: Router

      For redirecting to webpage after game added

    • gameService: GameService

      For saving new game data

    Returns AddGameDialog

Properties

addGameForm: FormGroup<any>

Form group for Add Game popup

gameService: GameService

For saving new game data

router: Router

For redirecting to webpage after game added

Methods

  • Calls GameService to save data new Game data contained in form

    Returns void

  • Executes when this component is loaded and creates new blank form controls

    Returns void

Generated using TypeDoc