- Use the CMD / Ctrl + K shortcut to trigger the share workflow.
- Or build a button into a dedicated place in your product so that users can share their devtools without a shortcut
tldr;
The PlayerZero snippet exposes a function calledprompt()
on its window object
to trigger this flow. You can call it whenever you’d like to make the popup come
up.
playerzero.prompt()
in the console of
your real devtools of an application that has PlayerZero enabled. Depending on
your application’s architecture, you can call this function onClick
to fit
into the share workflow.