Interface: DataMethods<Data, Context>
Type parameters
Name | Type |
---|---|
Data | any |
Context | any |
Properties
prepend
• prepend: (data
: Data
[]) => void
Prepends additional items to the existing data in the list, while preserving the scroll position.
Type declaration
▸ (data
): void
Parameters
Name | Type | Description |
---|---|---|
data | Data [] | The data to prepend. |