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