true
when there are no more items to load
The IDs of all items in the list.
The list doesn't store the actual items, the store does.
The list computes its list of items from this list of item IDs,
so if you want an item to show up in this list, push the ID to this list,
or use the add(item)
method
An error, if any occurred while loading
true
if the list has been loading items for a while (after 500ms by default, not configurable yet)
true
when there are no items in the list, and there are no items to be loaded.
Use this for displaying empty states
true
if the list is currently loading items
The items in the list. Use this to render the loaded data
Adds the item to the list, and to the store
The item to be added
Where in the list to add the item. Adds at the start by default.
Specify "end"
to add it to the end of the list.
Clears the items in the list and resets the list state
Load more, but only if the list is empty
Reset the list state and load items from the start of the list
Load more items
Remove an item ID from the list.
This does not remove the item from the store.
If you want to remove the item from the store, call store.remove(itemId)
,
and the item will not show up in this list
Resets the list state to start loading from the start of the list
Generated using TypeDoc
For loading data with infinite, paginated lists