Is document.execCommand() still okay to use for copying to clipboard?

后端 未结 0 409
挽巷
挽巷 2021-02-19 08:06

This w3schools article suggests using document.execCommand() to copy to a user\'s clipboard. However the MDN says that execCommand has been deprecated. Is there a preferable way

相关标签:
回答
  • 消灭零回复
提交回复
热议问题