sectioned-list
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "sectioned-list", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A linked list of arrays with predefined max lengths. Add to the list and items flow into sections.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,5 +18,9 @@ A linked list of arrays with predefined max lengths. | ||
- `new constructor(config)` Create a new instance with a config object. | ||
- `addItem(<any>)` Adds an item to the next section that has space for it. | ||
- `addItems(Array<any>)` Adds the items to the list by calling `addItem()` for each item in order. | ||
- `sections` Get all sections in the list. | ||
- `sections` Get all sections in the list. A section's items can be accessed via its `items` field. | ||
- `sectionedItems` Get an array of the items in the list in their section arrays. The returned value looks like this: `Array<Array<any>>` | ||
@@ -23,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14870
76