Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

114
Vistas
How to send data from the canvas to the iframe in figma

I am currently developing a plugin for figma. As you know, you will work with two .js files and one ui.html file I am wondering if there is any way to update the ui.html when the canvas changes I know that the appropriate way to send data from the ui to the canvas is by using this in the ui.js file

parent.postMessage({ pluginMessage: { type: 'msg' } }, '*')

and using this line in the code.js file :

figma.ui.onmessage = msg =>{
  if(msg.type==="msg"){
    // ...
  }
}

so is there a way to send data in the opposite way ?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda