Skip to main content

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

ParameterConstraintDefault
TNodeAnyNodeFieldNode<boolean>

Declared members

The declaration above also includes inherited contracts and overloads where applicable.

MemberMeaning
checkedThe rendered checked state.
valueReserved for value controls.