Function: useList
▸ Const useList<T>(dataSource, options?): Collection<T, ItemMeta>
Type parameters
| Name | Type |
|---|---|
T | any |
Parameters
| Name | Type |
|---|---|
dataSource | string | List<T, ItemMeta> | T[] |
options | UseCollectionOptions<T, ItemMeta> |
Returns
Collection<T, ItemMeta>
Defined in
onekijs/packages/onekijs-framework/src/collection/useList.ts:4