ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
25 lines (24 loc) • 1.01 kB
TypeScript
import { AnimationEvent } from '@angular/animations';
import { ElementRef, EventEmitter, OnChanges, OnInit, Renderer2 } from '@angular/core';
import { NzUpdateHostClassService } from '../core/services/update-host-class.service';
export declare class NzTagComponent implements OnInit, OnChanges {
private renderer;
private elementRef;
private nzUpdateHostClassService;
presetColor: boolean;
nzMode: 'default' | 'closeable' | 'checkable';
nzColor: string;
nzChecked: boolean;
nzNoAnimation: boolean;
readonly nzAfterClose: EventEmitter<void>;
readonly nzOnClose: EventEmitter<MouseEvent>;
readonly nzCheckedChange: EventEmitter<boolean>;
private isPresetColor;
private updateClassMap;
updateCheckedStatus(): void;
closeTag(e: MouseEvent): void;
afterAnimation(e: AnimationEvent): void;
constructor(renderer: Renderer2, elementRef: ElementRef, nzUpdateHostClassService: NzUpdateHostClassService);
ngOnInit(): void;
ngOnChanges(): void;
}