1e jet du formulaire d'ajout de sauts
This commit is contained in:
@@ -1,15 +1,28 @@
|
||||
import { Component, OnInit } from "@angular/core";
|
||||
import { ServiceComm } from "../../services/serviceComm";
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
import { ServiceComm } from '../../services/serviceComm';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: "app-new-jump",
|
||||
templateUrl: "./new-jump.component.html",
|
||||
styleUrls: ["./new-jump.component.css"]
|
||||
selector: 'app-new-jump',
|
||||
templateUrl: './new-jump.component.html',
|
||||
styleUrls: ['./new-jump.component.css']
|
||||
})
|
||||
export class NewJumpComponent implements OnInit {
|
||||
constructor(private serviceComm: ServiceComm) {}
|
||||
date: FormControl;
|
||||
defaultExitAltitude: number;
|
||||
defaultDeployAltitude: number;
|
||||
countOfJumps: number;
|
||||
|
||||
constructor(private serviceComm: ServiceComm) {
|
||||
this.date = new FormControl(new Date());
|
||||
this.defaultExitAltitude = 4000;
|
||||
this.defaultDeployAltitude = 1000;
|
||||
this.countOfJumps = 0;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.serviceComm.updatedComponentTitle("Add a new jump");
|
||||
this.serviceComm.updatedComponentTitle('Add a new jump');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user