generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Currently, the CopyToClipboard has no event handlers whatsoever, making it impossible to detect user interaction without resorting to hacks. I have a use case where I'd like to close a popover when the user performs a copy action. It'd also be nice to be able to record those events for analytics, as we can when the user performs virtually any other interaction.
I'd suggest a pair of event handlers named onCopySuccess and onCopyFailure.
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate requests
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request