You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From your documentation it seems that I should always get call back whenever a copy is successful. I am getting callbacks when copied using template modifications. But when I copy something using copyFromContent there seems to be no callback.
I tested on https://stackblitz.com/github/maxisam/ngx-clipboard as well and the alert is not displayed when Copy from Service button is clicked.
Am I missing something?
The text was updated successfully, but these errors were encountered:
Please consider reopening this.
Sometimes we need to pass the container to the service, for instance if the content is copied from a modal.
See the issue described here.
In my case I have an Angular app that uses an Ionic-based framework, and if the content resides in a modal I need to do something like this to get the copy functionality to work:
From your documentation it seems that I should always get call back whenever a copy is successful. I am getting callbacks when copied using template modifications. But when I copy something using
copyFromContent
there seems to be no callback.I tested on
https://stackblitz.com/github/maxisam/ngx-clipboard
as well and the alert is not displayed whenCopy from Service
button is clicked.Am I missing something?
The text was updated successfully, but these errors were encountered: