1
0

44024: simple search UI with decorator bug

This commit is contained in:
Lotte Hofstede
2017-08-18 14:23:06 +02:00
parent 4f6bc98979
commit 563cf6e820
30 changed files with 243 additions and 51 deletions

View File

@@ -1,15 +1,14 @@
import { Component, Input } from '@angular/core';
import { Item } from '../../core/shared/item.model';
import { ObjectListElementComponent } from '../object-list-element/object-list-element.component';
import { listElementFor } from '../list-element-decorator';
@Component({
selector: 'ds-item-list-element',
styleUrls: ['./item-list-element.component.scss'],
templateUrl: './item-list-element.component.html'
})
export class ItemListElementComponent {
@Input() item: Item;
data: any = {};
}
@listElementFor(Item)
export class ItemListElementComponent extends ObjectListElementComponent {}