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

132
Views
How do I instantiate a pug mixin with arguments from javascript?

Apologies if this is a basic question but I cannot seem to find information about this anywhere. I currently have a pug mixin defined as such:

mixin species(id)

I would like to have a button that instantiates new versions of the mixin with ascending ids and adds them to a container element (i.e. I want an onClick to perform "+species(id)"). How would I accomplish this?

Thanks.

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!