Skip to main content

useCollectionProxy

useCollectionProxy<T,I,S,C>(dataSource: undefined | string | CollectionProxy<T, I, CollectionState<T, I>, Collection<T, I, CollectionState<T, I>>> | T[],ctor: Class<C>,initialState: S): CollectionProxy<T, I, S, C>

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
ctorClass<C>
dataSourceundefined | string | CollectionProxy<T, I, CollectionState<T, I>, Collection<T, I, CollectionState<T, I>>> | T[]
initialStateS