react-image-annotate icon indicating copy to clipboard operation
react-image-annotate copied to clipboard

Event when user clicks 'next' or 'prev'

Open Fischbrot opened this issue 4 years ago • 1 comments

Is it possible to detect when a user click next or prev?

I want to add a progressbar on my project, but i need to know when a user clicks next or prev.

Else i'd have to only put a single image in each instance and then reload the states with a custom next/prev button.

Fischbrot avatar Jan 24 '21 14:01 Fischbrot

In the 1.7.10 version, there are two props (onNextImage and onPrevImage), for functions that will be triggered by the next and prev button.

Cerealplacebo5 avatar Jan 31 '22 09:01 Cerealplacebo5