@noaestudio/forms
Version:
Dynamic forms extension for Covalent
19 lines (18 loc) • 719 B
TypeScript
import { ControlValueAccessor, FormControl } from '@angular/forms';
import { AbstractControlValueAccessor } from '../abstract-control-value-accesor';
import { TranslateService } from '@ngx-translate/core';
export declare const SELECT_TOGGLE_INPUT_CONTROL_VALUE_ACCESSOR: any;
export declare class TdDynamicSelectComponent extends AbstractControlValueAccessor implements ControlValueAccessor {
private translator;
control: FormControl;
label: string;
required: boolean;
selections: any[];
selectComplex: boolean;
selectMultiple: boolean;
flex: number;
flexPerc: number;
constructor(translator: TranslateService);
ngOnInit(): void;
translateLabel(value: string): string;
}