bia-framework
Version:
Bia Framework to work with angular 2
40 lines (32 loc) • 891 B
text/typescript
/**
* Created by jacke on 10/01/2016.
*/
import {Component, ViewEncapsulation, Input, OnInit} from '@angular/core';
import {NgClass} from "@angular/common";
export class CoreCard implements OnInit
{
depth:number;
color:string;
isSelectable:boolean;
constructor()
{
}
ngOnInit():any
{
this.depth = this.depth || 1;
this.color = this.color || 'white';
this.isSelectable = this.isSelectable || false;
return undefined;
}
}