@formql/core
Version:
FormQL - A framework for building dynamic forms
22 lines (21 loc) • 820 B
TypeScript
import { OnInit } from '@angular/core';
import { ControlValueAccessor, FormControl } from '@angular/forms';
import { FormComponent } from '../models/form-component.model';
import { OptionValue } from '../models/type.model';
import { FormValidator } from '../models/rule.model';
export declare class FormQLRadioComponent implements ControlValueAccessor, OnInit {
static componentName: string;
static formQLComponent: boolean;
static validators: FormValidator[];
field: FormComponent<any>;
formControl: FormControl;
private _value;
list: Array<OptionValue>;
private _propagateChange;
ngOnInit(): void;
get value(): any;
set value(value: any);
writeValue(value: string): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
}