ShiftArrayItemEvent
| Implements: | |
Event dispatched to remove the FIRST item from an array field.
Equivalent to JavaScript's Array.shift() - removes from the beginning. For removing from the end, use {@link PopArrayItemEvent}. For removing at a specific index, use {@link RemoveAtIndexEvent}.
Constructor
No documentation has been provided. | ||||||
Presentation | ||||||
Parameters
|
Properties
| Name | Type | Description |
|---|---|---|
| type r implements | "shift-array-item" |
Example usage
// Use the builder API (recommended)
eventBus.dispatch(arrayEvent ('contacts').shift());
// Or instantiate directly
eventBus.dispatch(new ShiftArrayItemEvent ('contacts'));