blob: f2e2fa7ab8318e714d195daf897723158548cf6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { Component, EventEmitter, Input, Output, HostBinding } from "@angular/core";
import template from "./tag-item.component.html";
@Component({
selector: 'sdc-tag-item',
template: template
})
export class TagItemComponent {
@HostBinding('class') classes = 'sdc-tag-item';
@Input() public text: string;
@Input() public isViewOnly: boolean;
@Input() public index: number;
@Output() public clickOnDelete: EventEmitter<number> = new EventEmitter<number>();
}
|