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 | 236 | January 19, 2023 | |
| Copy URL of my Page | 3 | 2220 | January 30, 2021 | |
| copyToClipboard not working in Mobile Browser | 6 | 643 | January 15, 2026 | |
| Wix button to start html | 1 | 40 | September 3, 2026 | |
| Copy To Clipboard | 7 | 3464 | July 16, 2023 |
