Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

69
Views
how to copy multiple svg file to clipboard on electron js

this is my code which i'm using it now:

function copySVGList({svg_arr}){
  let groups = "<g>";
  svg_arr.forEach((svg) => {
    groups += svg.icon
  });
  groups += "</g>"
  clipboard.writeText(groups)
}

which groups all svg strings and copies all of them as string , not file

i want to find a way to copy these svg files as "File" not string also a way to copy a list of svg files not only a single one!

i'm using electron js and on Docs,it looks like supports only single file copy

7 months ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.