#150 Initial grid/list view implementation

This commit is contained in:
Jonas Van Goolen
2017-10-26 09:38:27 +02:00
parent 16786a90ff
commit a704157c1f
58 changed files with 684 additions and 49 deletions

View File

@@ -0,0 +1,14 @@
import { Component, Inject } from '@angular/core';
import { ListableObject } from '../../object-collection/shared/listable-object.model';
@Component({
selector: 'ds-object-grid-element',
styleUrls: ['./object-grid-element.component.scss'],
templateUrl: './object-grid-element.component.html'
})
export class ObjectGridElementComponent <T extends ListableObject> {
object: T;
public constructor(@Inject('objectElementProvider') public gridable: ListableObject) {
this.object = gridable as T;
}
}