model-viewer icon indicating copy to clipboard operation
model-viewer copied to clipboard

Expose API to cancel currently running custom prompt interactions

Open valdrinkoshi opened this issue 2 years ago • 0 comments

With https://github.com/google/model-viewer/pull/3320, we have an API to run custom prompts. We'd like to have an API for interrupting/cancelling a currently running prompt, e.g. modelViewer.cancelInteract(), which can be used when events outside of the model-viewer are triggered like user scrolls.

valdrinkoshi avatar Jun 02 '22 14:06 valdrinkoshi