FormNodeCheckboxControl
A custom control exposing a boolean checked model for [formNode].
Import
import type { FormNodeCheckboxControl } from '@ngblocks/form-nodes';
When to use it
Implement this contract in a custom component exposing a boolean checked model. Use a non-nullable boolean field when the component cannot represent null.
Declaration
type FormNodeCheckboxControl<TNode extends AnyNode = FieldNode<boolean>> = FormNodeUiControl<boolean, TNode> & {
checked: ModelSignal<boolean>;
value?: undefined;
};
Type parameters
| Parameter | Constraint | Default |
|---|---|---|
TNode | AnyNode | FieldNode<boolean> |
Declared members
The declaration above also includes inherited contracts and overloads where applicable.
| Member | Meaning |
|---|---|
checked | The rendered checked state. |
value | Reserved for value controls. |