OnContentError
Type: TSInterface
| PROPERTY | TYPE | DESCRIPTION |
|---|---|---|
| currentTarget | InfiniteGrid | An InfiniteGrid instance that triggered this event. |
| element | HTMLElement | The item's element. |
| target | HTMLElement | The content element with error. |
| item | InfiniteGridItem | The item with error content. |
| update | () => void | If you have fixed the error and want to recheck it, call update(). If you remove an element, call the syncElements() method. |
| remove | () => void | If you want to remove the item corresponding to the error, call remove(). |