Skip to content

Implicit binding using bindData function

Choose a tag to compare

@g105b g105b released this 19 Sep 10:05
14b91d9

When passing data to the bindData function of Bindable Elements, it has always been required for the data to be a key-value pair structure, or an object that implements BindDataMapper/Getter.

Now it is possible to pass any string-like value into bindData, and DomTemplate will attempt to perform implicit binding (binding to the DOM without using a named key).