js 문자열 클립보드로 복사하기

Clipboard API를 사용할 수 있다

example.js
1
navigator.clipboard.writeText(gto9(text));
  • bye bye document.execCommand("copy")

참고

Author

chinsung

Posted on

2021-08-21

Updated on

2021-08-21

Licensed under

댓글