Read and write to the clipboard with the modern Clipboard API 📋
Ikke-kategoriseret
1
Indlæg
1
Posters
0
Visninger
-
Read and write to the clipboard with the modern Clipboard API

async/await, permission-aware, and way cleaner than execCommand.
â‹… Supports text, HTML, and images
â‹… Works in secure contexts (HTTPS)
â‹… No Flash. No hacks.Learn more

https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API -
S simonjust@mstdn.dk shared this topic