@ng-ui-libraries/forms
Version:
39 lines (38 loc) • 1.17 kB
TypeScript
import { EventEmitter, OnInit, OnDestroy, Injector } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { FormConfig } from '../../Service/FormConfig';
import { NgFormControl } from '../NgFormControl';
export declare class DropDownComponent extends NgFormControl<any> implements OnInit, OnDestroy {
injector: Injector;
config: FormConfig;
template: any;
private _isMultiple;
isMultiple: boolean;
inInputGroup: boolean;
name: string;
label: string;
appendTo: string;
required: boolean;
disabled: boolean;
placeholder: string;
options: {
text: string;
[key: string]: any;
}[];
selectBy: string;
labelField: string;
parentFormControl: FormControl;
parentFormGroup: FormGroup;
typeahead: EventEmitter<string>;
icon: string;
iconPlacement: string;
identifier: string;
constructor(injector: Injector, config: FormConfig);
ngOnInit(): void;
ngOnDestroy(): void;
onMultipleChange(): void;
areOptionsProvided(): boolean;
isIconProvided(): boolean;
isIconPlacementBefore(): boolean;
getReadOnlyValue(): any;
}