35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [Checklist](./js-utils.checklist.md)
|
|
|
|
## Checklist class
|
|
|
|
Check whether items are included or not.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare class Checklist<T> implements ChecklistOptions<T>
|
|
```
|
|
<b>Implements:</b> [ChecklistOptions](./js-utils.checklistoptions.md)<!-- --><T>
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [(constructor)(options)](./js-utils.checklist._constructor_.md) | | Constructs a new instance of the <code>Checklist</code> class |
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
| --- | --- | --- | --- |
|
|
| [data](./js-utils.checklist.data.md) | <code>readonly</code> | Array<T> | TODO: switch to Set |
|
|
| [mode](./js-utils.checklist.mode.md) | <code>readonly</code> | [ChecklistMode](./js-utils.checklistmode.md) | |
|
|
|
|
## Methods
|
|
|
|
| Method | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [check(value)](./js-utils.checklist.check.md) | | Check whether a value is included or excluded from this checklist (depending on <code>mode</code>). |
|
|
|