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.
<div customAttribute.bind="doSomething()"></div>
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 ????