Sets up observers to monitor scroll events on a given container and its movable companion within a virtual grid setup.
Parameter | Type | Description |
---|---|---|
callback | Function |
Function to call when a scroll event is detected. |
onEnterCallback | Function |
Function to call when a specific event, like entering a region, is detected. |
instance | IGrid |
The grid instance that requires observation. |
Returns void