blob: 7da8f3669d8e154bbaa4d164cdeb40951e454bf0 (
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>();
}
|