examples: Added misc/02-clipboard

This commit is contained in:
Ryan C. Gordon
2025-09-24 14:41:05 -04:00
parent 0b9a197eda
commit 17d77f5fbd
5 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
This example code lets the user copy and paste with the system clipboard.
This only handles text, but SDL supports other data types, too.
Note that only Chrome-based browsers support this API currently. This uses a
new Javascript API, so hopefully this will be available everywhere soon!