UNPKG

ng-zorro-antd

Version:

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

1 lines 3.54 kB
{"__symbolic":"module","version":4,"metadata":{"NzTagComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"nz-tag","exportAs":"nzTag","preserveWhitespaces":false,"template":"\n <ng-content></ng-content>\n <i nz-icon nzType=\"close\" class=\"ant-tag-close-icon\" *ngIf=\"nzMode === 'closeable'\" tabindex=\"-1\" (click)=\"closeTag($event)\"></i>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":29,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":30,"character":17},"member":"None"},"host":{"[style.background-color]":"isPresetColor ? '' : nzColor","[class]":"isPresetColor ? ('ant-tag-' + nzColor) : ''","[class.ant-tag-has-color]":"nzColor && !isPresetColor","[class.ant-tag-checkable]":"nzMode === 'checkable'","[class.ant-tag-checkable-checked]":"nzChecked","(click)":"updateCheckedStatus()","$quoted$":["[style.background-color]","[class]","[class.ant-tag-has-color]","[class.ant-tag-checkable]","[class.ant-tag-checkable-checked]","(click)"]}}]}],"members":{"nzMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"nzColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"nzChecked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"ng-zorro-antd/core/util","name":"InputBoolean","line":45,"character":12}}]}],"nzOnClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":46,"character":3}}]}],"nzCheckedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":47,"character":3}}]}],"updateCheckedStatus":[{"__symbolic":"method"}],"closeTag":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":63,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":63,"character":63}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"NzTagModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":12},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":13,"character":26},{"__symbolic":"reference","module":"ng-zorro-antd/icon","name":"NzIconModule","line":13,"character":39}],"declarations":[{"__symbolic":"reference","name":"NzTagComponent"}],"exports":[{"__symbolic":"reference","name":"NzTagComponent"}]}]}],"members":{}}},"origins":{"NzTagComponent":"./tag.component","NzTagModule":"./tag.module"},"importAs":"ng-zorro-antd/tag"}