three-story-controls

Home > three-story-controls > UpdatePOIsEvent

UpdatePOIsEvent interface

Event: Fired when transitioning between points of interest. Fired on StoryPointsControls and PathPointsControls. controls.addEventListener('update', ...)

Signature:

export interface UpdatePOIsEvent 

Properties

Property Type Description
currentIndex number  
progress number  
type ‘update’  
upcomingIndex number