import wixWindow from 'wix-window'
import wixLocation from 'wix-location'
$w.onReady(() => {
$w('#button').onClick( async () => {
await wixWindow.copyToClipboard(wixLocation.url)
})
})
bwprado
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to make a bottom for customers to copy link to the page? | 3 | 211 | January 19, 2023 | |
| Copy URL of my Page | 3 | 2196 | January 30, 2021 | |
| copyToClipboard not working in Mobile Browser | 6 | 613 | January 15, 2026 | |
| Copy/Paste behaves really strange in Wix Editor | 19 | 1575 | June 3, 2026 | |
| Copy To Clipboard | 7 | 3439 | July 16, 2023 |
