Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
Cómo establecer el contenido de la plantilla en polímero

Intentando agregar un componente en la plantilla pero no funciona. Cómo agregar el componente en la plantilla usando polímero.

 import { PowerSector } from '../components/powersector'; public data = []; public condition: boolean; protected async show(comp){ let template = document.getElementById('my-content'); this.condition = true; template.appendChild(comp); } static get template() { return html' <button click="show("<power-sector val="[[data]]"></power-sector>");"></button> <template is="dom-if" if="[[condition]]" id="my-content"> </template>'; }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!