Home > three-story-controls > UpdatePOIsEvent
Event: Fired when transitioning between points of interest. Fired on StoryPointsControls and PathPointsControls. controls.addEventListener('update', ...)
Signature:
export interface UpdatePOIsEvent
| Property | Type | Description |
|---|---|---|
| currentIndex | number | |
| progress | number | |
| type | ‘update’ | |
| upcomingIndex | number |