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

206
Views
set variable between models in aurelia after or in attached

I have two models:

1.- main view with html elements

2.- a custom attribute, being used by html div in main view (previous point number 1.-)

I want to call an external library from custom attribute (i already did this), so i need to configure this object now, to do this i need to setup a value based in row width from the element using this custom attribute.

  1. By example, in main view:
<div customAttribute.bind="doSomething()"></div>
  1. in customAttribute (in view model, javascript)

    ... library.width = (this value will came from main view);

I know i can use attach() in custom attribute and i have tried to do this passing values with .bind in main view but it seems the html bootstrap row width is not loaded because object has no value in this field.

Is there another way to do this ????

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!