You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/node_modules_/primeng/components/chips/chips.d.ts

50 lines
1.6 KiB
TypeScript

import { ElementRef, EventEmitter, AfterContentInit, QueryList, TemplateRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
export declare const CHIPS_VALUE_ACCESSOR: any;
export declare class Chips implements AfterContentInit, ControlValueAccessor {
el: ElementRef;
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);
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 {
}