pinchzoom icon indicating copy to clipboard operation
pinchzoom copied to clipboard

Add onUpdate callback

Open jamesheazlewood opened this issue 4 years ago • 2 comments

Because the container calculation is wrapped in a setTimeout callback, it is difficult to trigger anything after this is called. Adding an onUpdate callback inside there allows easily hooking into this.

Updated the docs to include this also.

jamesheazlewood avatar Mar 02 '20 05:03 jamesheazlewood

I was just about to do something like this myself... Would be great if this got merged in!

skmbr avatar Jun 14 '21 13:06 skmbr

@skmbr Can you checkout this branch and see if it works for your use-case?

sandstrom avatar Jun 14 '21 14:06 sandstrom