You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
I am working on a list component which I expect this kind of binding: <my-list items={{model.items}}></my-list>
That doesn't work out of the box as default HTMLElement.bind uses setAttribute to set the binding value on the target. Any complex value from source will be stringify.
Expect
Liaison should support that kind of binding. Expected behavior is that model.items will be set to the list's items property
Implementation
Use DomPropertyBindingTarget as default binding target instead of DOMBindingTarget
The text was updated successfully, but these errors were encountered:
Cool, also please note that liaison directs HTMLElement.bind() to a delite widget property if it detects the there is a widget property with the given name:
Problem:
I am working on a list component which I expect this kind of binding:
<my-list items={{model.items}}></my-list>
That doesn't work out of the box as default HTMLElement.bind uses setAttribute to set the binding value on the target. Any complex value from source will be stringify.
Expect
Liaison should support that kind of binding. Expected behavior is that model.items will be set to the list's items property
Implementation
Use DomPropertyBindingTarget as default binding target instead of DOMBindingTarget
The text was updated successfully, but these errors were encountered: