Usage
Signature:
interface EditItem<K, D>
Generic Parameters
Parameter Description K Type of Key D Type of Data
Typescript Import Format
//To use this interface, import as below.
import BufferingDataProvider= require("ojs/ojbufferingdataprovider");
//To access this interface in your code,
let myVariable: BufferingDataProvider.EditItem;
For additional information visit:
The interface for EditItem
Fields
-
(readonly) item :ItemWithOptionalData.<K, D>
-
The Item object that represents the edited item.
- Since:
- 9.0.0
-
(readonly) operation :('add'|'remove'|'update')
-
The type of buffered edit.
Possible values are:
- 'add': The edit is for adding a new item to the data source.
- 'remove': The edit is for removing an existing item from the data source.
- 'update': The edit is for updating an existing item from the data source.
- Since:
- 9.0.0