2019-10-10 13:48:33 +00:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "UTF-8" >
2023-01-19 19:59:35 +00:00
< meta http-equiv = "Content-Security-Policy" content = "script-src 'self' 'unsafe-inline';" / >
2019-10-10 13:48:33 +00:00
< / head >
< body >
< div >
< div >
< h1 > Clipboard copy< / h1 >
2023-01-19 19:59:35 +00:00
< i > Supports: Win, macOS, Linux < span > |< / span > Process: Main, Renderer (non-sandboxed only)< / i >
2019-10-10 13:48:33 +00:00
< div >
< div >
< button id = "copy-to" > Copy< / button >
< input id = "copy-to-input" aria-label = "Click copy" placeholder = "Click copy." > < / input >
< / div >
< p > In this example we copy a phrase to the clipboard. After clicking 'Copy' use the text area to paste (CMD + V or CTRL + V) the phrase from the clipboard.< / p >
< / div >
< / div >
< / div >
2023-01-19 19:59:35 +00:00
< script src = "./renderer.js" > < / script >
2019-10-10 13:48:33 +00:00
< / body >
< / html >