Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
HTML DOM Events
The oncopy Event
Use the addEventListener() method to attach a copy event to an input element.