Async Clipboard API - clipboardchange event not fired

Viewed 615

Has anyone been able to hook the clipboardchange event of the new Async Clipboard API? I am trying this:

navigator.clipboard.addEventListener('clipboardchange', function (e) {
                console.log("navigator clipboardchange");
            });

But it never fires.

1 Answers

At least for chrome this isn't implemented, see this bug for more details.

Reading the comments, there does seem to be some pressure to implement it, otherwise you'll have to poll

Related