UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

34 lines (33 loc) 1.34 kB
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from "@angular/core"; import { IChipsItem } from "../public-api"; import * as i0 from "@angular/core"; /** * @ignore */ export declare class ChipComponent implements AfterViewInit { host: ElementRef; private cdRef; /** * Value passed to display as a chip. */ item: IChipsItem; /** * Value passed to display a tooltip for the 'close' button */ closeButtonTooltip: string; /** Custom css class to be added to the chip element */ customClass: string | string[] | Set<string> | { [klass: string]: any; }; /** * Event that is fired when single item is cleared (by clicking on remove icon). */ remove: EventEmitter<any>; isContentProjected: boolean; private contentTemplate; constructor(host: ElementRef, cdRef: ChangeDetectorRef); ngAfterViewInit(): void; onRemove(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "nui-chip", never, { "item": { "alias": "item"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "remove": "remove"; }, never, ["*"], false, never>; }