()
| 13312 | try { |
| 13313 | const ta = document.createElement('textarea'); |
| 13314 | ta.value = value; |
| 13315 | ta.setAttribute('readonly', ''); |
| 13316 | ta.style.position = 'fixed'; |
| 13317 | ta.style.left = '-9999px'; |
| 13318 | document.body.appendChild(ta); |
| 13319 | ta.select(); |
| 13320 | document.execCommand('copy'); |
| 13321 | ta.remove(); |
| 13322 | return true; |
| 13323 | } catch (_) { |
| 13324 | return false; |
| 13325 | } |
| 13326 | } |
nothing calls this directly
no test coverage detected