ListComponent.onChange method
ListComponent › onChange
Sets the callback to be called when the user adds, moves or removes an item.Signature:
onChange(callback: (newValue: readonly string[]) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (newValue: readonly string[]) => void | The callback. |
Returns: this — The component.