ngx-schema-forms
Version:
New features: - Ajv schema validator. - Angular forms compatible: Property tree is created using FormGroup, FormArray and FormControl classes. - Array now properly loads initial data from model. - WidgetTyep: WidgetRegistry now supports WidgetType, now wo
10 lines (9 loc) • 334 B
TypeScript
import { OnInit } from '@angular/core';
import { PropertyWidget, Widget } from './widget';
export declare abstract class CheckboxWidget<T extends Widget = Widget> extends PropertyWidget<T> implements OnInit {
checked: {
[key: string]: boolean;
};
ngOnInit(): void;
check(checked: boolean, value: any): void;
}