📌  相关文章
📜  js 复制图像到剪贴板 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:18.080000             🧑  作者: Mango

代码示例5
// Copies the image as a blob to the clipboard (PNG only)
navigator.clipboard.write([
  new ClipboardItem({
    [blob.type]: blob,
  }),
])