bia-framework
Version:
Bia Framework to work with angular 2
36 lines (32 loc) • 863 B
text/typescript
/**
* Created by jackes on 10/01/2016.
*/
import {Component, ViewEncapsulation, Input} from '@angular/core';
import {NgClass} from '@angular/common';
export class Badge {
color:string;
isVisible:boolean;
count:number;
position:string;
constructor() {
this.color = "danger";
this.isVisible = false;
this.count = 0;
this.position = "right";
}
}