@duoduo-oba/ng-devui
Version:
DevUI components based on Angular
20 lines (19 loc) • 487 B
TypeScript
import { EventEmitter, TemplateRef } from '@angular/core';
export declare class TagsComponent {
/**
* 【必选】记录输入的标签
*/
tags: any[];
/**
* 【可选】使用的属性名
*/
displayProperty: string;
deletable: boolean;
titleProperty: string;
customViewTemplate: TemplateRef<any>;
/**
* tag被删除后触发
*/
tagDelete: EventEmitter<any>;
removeTag(tag: any, index: any): void;
}