Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

70
Vistas
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
Responde la pregunta
Encuentra empleos remotos