Edit page

Callbacks

react-globe supports ways to capture interactive events through various callback props. These callbacks support ways to capture the pointer event, active marker data and corresponding THREE.Object3D object, providing enough data to build interactive applications. The example below demonstrates how to use the event handlers.