Skip to content
@ng-doc/ui-kit / Class

NgDocCheckedChangeDirective

Binds the checked state of a native checkbox: true, false, or null for the indeterminate state. Use [ngDocChecked] and (ngDocCheckedChange), or both at once with [(ngDocChecked)].

Decorators
@Directive
Selectors
input[ngDocChecked]input[ngDocCheckedChange]
DeclarationTypeScript
@Directive({ … })
export class NgDocCheckedChangeDirective { … }

Members

Properties

3
ngDocChecked: InputSignal<boolean | null>
readonly input()

Checked state; null shows the checkbox as indeterminate.

ngDocCheckedChange: OutputEmitterRef<boolean>
readonly output()

Emits the new checked state when the user changes it.

state: WritableSignal<boolean | null>
protectedreadonly

What the checkbox shows: the bound state until the user changes it.

Methods

1
(…): void
protected
—
Symbol
Kind
Class
Decorators
@Directive
Selectors
input[ngDocChecked]input[ngDocCheckedChange]
Scope
@ng-doc/ui-kit
Edit this page