UNPKG

primeng

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Join the chat at https://gitter.im/primefaces/primeng](https://badges.gitter.im/primefaces/primeng.svg)](https://gitter.im/primefaces/primeng?ut

52 lines (51 loc) 1.73 kB
import { ElementRef, EventEmitter, AfterContentInit, QueryList, TemplateRef } from '@angular/core'; import { DomHandler } from '../dom/domhandler'; import { ControlValueAccessor } from '@angular/forms'; export declare const CHIPS_VALUE_ACCESSOR: any; export declare class Chips implements AfterContentInit, ControlValueAccessor { el: ElementRef; domHandler: DomHandler; style: any; styleClass: string; disabled: boolean; field: string; placeholder: string; max: number; tabindex: number; inputId: string; allowDuplicate: boolean; inputStyle: any; inputStyleClass: any; addOnTab: boolean; addOnBlur: boolean; onAdd: EventEmitter<any>; onRemove: EventEmitter<any>; onFocus: EventEmitter<any>; onBlur: EventEmitter<any>; onChipClick: EventEmitter<any>; inputViewChild: ElementRef; templates: QueryList<any>; itemTemplate: TemplateRef<any>; value: any; onModelChange: Function; onModelTouched: Function; valueChanged: boolean; focus: boolean; constructor(el: ElementRef, domHandler: DomHandler); ngAfterContentInit(): void; onClick(event: any): void; onItemClick(event: Event, item: any): void; writeValue(value: any): void; registerOnChange(fn: Function): void; registerOnTouched(fn: Function): void; setDisabledState(val: boolean): void; resolveFieldData(data: any, field: string): any; onInputFocus(event: FocusEvent): void; onInputBlur(event: FocusEvent): void; removeItem(event: Event, index: number): void; addItem(event: Event, item: string): void; onKeydown(event: KeyboardEvent): void; updateMaxedOut(): void; } export declare class ChipsModule { }