/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { EventEmitter, ElementRef, Renderer } from '@angular/core'; export declare class Tag { private renderer; private elementRef; /** 样式前缀 */ prefixCls: string; /** 标签是否可以关闭 */ closable: boolean; /** 标签色 */ color: string; /** 用户CSS样式 */ class: string; /** 关闭前事件 */ beforeClose: EventEmitter; /** 关闭后事件 */ close: EventEmitter; /** 状态 */ closed: boolean; constructor(renderer: Renderer, elementRef: ElementRef); readonly classes: string; readonly backgroundColor: string; readonly dataShow: boolean; readonly textClass: string; readonly transitionName: string; /** * The underlying host native element */ getHostElement(): HTMLElement; doClose(event: Event): void; isPresetColor(color: string): boolean; }