angular-dynamic-forms-lite
Version:
Efficient dynamic and customizable Angular 7+ forms.
13 lines (12 loc) • 458 B
TypeScript
import { DynamicFormType } from "../form-field/form-field-type";
import { FormFieldSettingType } from "./form-field-setting";
/**
* Describes a form field using its type and sub type.
*/
export declare class SubType {
type: DynamicFormType;
subType: string;
constructor(type?: DynamicFormType, subType?: string);
static of(type: DynamicFormType, subType?: string): SubType;
static toSubType(fieldType: FormFieldSettingType): SubType;
}