Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

ngCopy should be created #4170

Closed
benmccann opened this issue Sep 26, 2013 · 2 comments
Closed

ngCopy should be created #4170

benmccann opened this issue Sep 26, 2013 · 2 comments

Comments

@benmccann
Copy link
Contributor

I'd like to use the oncopy event

https://developer.mozilla.org/en-US/docs/Web/API/element.oncopy

@petebacondarwin
Copy link
Contributor

Is there some reason why you cannot make your own ngCopy directive for this event? Have a look at how ngClick and other event handler style directives are written. It is not too complicated.

@benmccann
Copy link
Contributor Author

Why not support it out of the box? It's a few characters to support it vs 15 lines to add it after the fact.

Here's a pull request for it: #4172

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants