
public.out-tsc.app.car.car-list.component.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse-connect-testbed-backend Show documentation
Show all versions of fitnesse-connect-testbed-backend Show documentation
Test server for integration tests
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component, EventEmitter } from '@angular/core';
import { CarService } from './car.service';
export var CarListComponent = (function () {
function CarListComponent(carService) {
this.carService = carService;
this.cars = [];
this.carsChanged = new EventEmitter();
}
CarListComponent.prototype.ngOnInit = function () {
var _this = this;
this.carService.getCars().subscribe(function (data) {
_this.cars = data;
});
};
CarListComponent.prototype.onSelected = function (car) {
};
CarListComponent = __decorate([
Component({
selector: 'app-car-list',
template: "\n \n \n New Car\n \n \n \n \n \n \n
\n \n \n"
}),
__metadata('design:paramtypes', [CarService])
], CarListComponent);
return CarListComponent;
}());
//# sourceMappingURL=C:/Projects/FitNesseConnect/fitnesse-connect-testbed-ui/src/app/car/car-list.component.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy