Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clair-design/clair
/ execCopy
Function
execCopy
docs/plugins/scripts/tiny-copy.js:17–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
* exec copy command
16
*/
17
const
execCopy = () => {
18
try {
19
document.execCommand(
'copy'
)
20
} catch (e) {}
21
}
22
23
/**
24
* copy from element
Callers
3
copyFromElement
Function · 0.85
copyFromText
Function · 0.85
tinyCopy
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected