ngx-form-control
Version:
Form controls for angular 6
35 lines (34 loc) • 1.12 kB
TypeScript
import { BaseControlComponent } from './base-control.component';
export declare abstract class BaseListControlComponent extends BaseControlComponent {
protected _multiple: any;
protected _textKey: any;
textKey: string;
protected _valueKey: any;
valueKey: string;
protected _comparedKey: any;
comparedKey: string;
protected _options: Array<any>;
options: Array<any>;
protected _selectOptions: Array<{
id;
text;
value;
comparedValue;
}>;
readonly selectOptions: {
id: any;
text: any;
value: any;
comparedValue: any;
}[];
protected _selectedIndexes: any[];
selectedIndexes: Array<number>;
protected findIndex(value: any): number;
protected findIndexes(arrValue: Array<any>): Array<number>;
protected initOptions(): void;
protected beforeInitOptions(): void;
protected afterInitOptions(): void;
protected getComparedValue(option: any): string | number;
readonly abstract value: any;
abstract writeValue(value: any | Array<any>): any;
}