Checkbox

API#

[nz-checkbox]#

Property Description Type Default
[nzAutoFocus] get focus when component mounted boolean false
[nzDisabled] Disable checkbox boolean false
[ngModel] Specifies whether the checkbox is selected, double binding boolean false
[nzIndeterminate] set the status of indeterminate,only affect the style boolean false
[nzValue] use for the callback of nz-checkbox-wrapper string -
(ngModelChange) The callback function that is triggered when the state changes. EventEmitter<boolean> -

nz-checkbox-group#

Property Description Type Default
[ngModel] Specifies options, double binding Array<{ label: string; value: string; checked?: boolean; }> []
[nzDisabled] Disable all checkboxes boolean false
(ngModelChange) The callback function that is triggered when the state changes. EventEmitter<Array<{ label: string; value: string; checked?: boolean; }>> -

nz-checkbox-wrapper#

Property Description Type Default
(nzOnChange) The callback function that is triggered when the state changes. EventEmitter<string[]> -

Methods#

[nz-checkbox]#

Name Description
focus() get focus
blur() remove focus