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
It this somehow possible?
I am trying to get it working to copy data that I get after http success request. I get some text but it only does the copy if I click twice. First time it leaves the old value.
I basically process set some text, process the value in PHP which returns a new value which I want to copy to clipboard. But it always doesn't pick up the first time. Is there a way to make it wait until $scope is ready. Tried various timeout, scope.apply methods but couldn't get it to work.
It this somehow possible?
I am trying to get it working to copy data that I get after http success request. I get some text but it only does the copy if I click twice. First time it leaves the old value.
I basically process set some text, process the value in PHP which returns a new value which I want to copy to clipboard. But it always doesn't pick up the first time. Is there a way to make it wait until $scope is ready. Tried various timeout, scope.apply methods but couldn't get it to work.
Any advice is appreciated :)
p.s best bet is to invoke a method to copy in js file and not use the
data-clip-copy="getTextToCopy()" in html. I think that would solve the issue ?
The text was updated successfully, but these errors were encountered: