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