UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

44 lines (39 loc) 1.98 kB
import { Direction } from '@angular/cdk/bidi'; import * as i0 from '@angular/core'; import { OnChanges, OnInit, EventEmitter, SimpleChanges } from '@angular/core'; import { NzStatusColor, NzPresetColor } from 'ng-zorro-antd/core/color'; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzTagComponent implements OnChanges, OnInit { private cdr; private renderer; private el; private directionality; private destroyRef; nzMode: 'default' | 'closeable' | 'checkable'; nzColor?: string | NzStatusColor | NzPresetColor; nzChecked: boolean; nzBordered: boolean; readonly nzOnClose: EventEmitter<MouseEvent>; readonly nzCheckedChange: EventEmitter<boolean>; dir: Direction; isPresetColor: boolean; updateCheckedStatus(): void; closeTag(e: MouseEvent): void; private clearPresetColor; private setPresetColor; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<NzTagComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NzTagComponent, "nz-tag", ["nzTag"], { "nzMode": { "alias": "nzMode"; "required": false; }; "nzColor": { "alias": "nzColor"; "required": false; }; "nzChecked": { "alias": "nzChecked"; "required": false; }; "nzBordered": { "alias": "nzBordered"; "required": false; }; }, { "nzOnClose": "nzOnClose"; "nzCheckedChange": "nzCheckedChange"; }, never, ["*"], true, never>; static ngAcceptInputType_nzChecked: unknown; static ngAcceptInputType_nzBordered: unknown; } declare class NzTagModule { static ɵfac: i0.ɵɵFactoryDeclaration<NzTagModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<NzTagModule, never, [typeof NzTagComponent], [typeof NzTagComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<NzTagModule>; } export { NzTagComponent, NzTagModule };