useCollectionInitialState
useCollectionInitialState<T,I>(dataSource: undefined | string | CollectionProxy<T, I, CollectionState<T, I>, Collection<T, I, CollectionState<T, I>>> | T[],options: UseCollectionOptions<T, I>): CollectionState<T, I>
Properties
(Mandatory properties are in bold)Properties | Type | Description |
---|---|---|
dataSource | undefined | string | CollectionProxy<T, I, CollectionState<T, I>, Collection<T, I, CollectionState<T, I>>> | T[] |
Additional properties for advanced use cases
Properties | Type | Description |
---|---|---|
options | UseCollectionOptions<T, I> |