CheckList
Used to organize the flow of tasks in a project.
When To Use#
If the current page business logic is too complex, and with a more mandatory sequential flow control, then you can use this component to help you simplify the process.
import { NzCheckListModule } from 'ng-zorro-antd/check-list';
Examples
Check List
Loading...
Loading...
API#
nz-check-list#
Property | Description | Type | Default | Global Config |
---|---|---|---|---|
[nzItems] | check list elements | NzItemProps | [] | - |
[nzVisible] | show check-list | boolean | false | - |
[nzIndex] | current index | number | 1 | - |
[nzProgress] | show progress | boolean | true | - |
[nzTriggerRender] | rendering template for float button | TemplateRef<void> | string | - | - |
[nzTitle] | rendering template for the check-list panel title | TemplateRef<void> | string | - | - |
[nzFooter] | rendering template for the check-list panel footer | TemplateRef<void> | string | - | - |
(nzHide) | callback for hiding the check list | EventEmitter<boolean> | false | - |
Value of
(nzHide)
is whether not show the check-list anymore. If the value istrue
, you can store a data inLocalStorage
to avoid showing the check-list again.
Interfaces#
NzItemProps#
Property | Description | Type | Default |
---|---|---|---|
key | unique identifier | string | - |
description | description content | string | - |
onClick | method triggered by clicking the step | () => void | - |
key
is the unique identifier of the current item. If not set,description
will be used as the key.