ngclipboard
ngclipboard copied to clipboard
Selection
Hi, How could I remove text selection after Copy? In your example it's working good Thanks in advance
have you tried the onSuccess callback for that? As being written here: https://sachinchoolur.github.io/ngclipboard/
// You can still access the clipboard.js event $scope.onSuccess = function(e) { console.info('Action:', e.action); console.info('Text:', e.text); console.info('Trigger:', e.trigger);
e.clearSelection(); // <== this sounds to me as it would do the job?
};