Image binding
Bind product images after FactFinder data becomes available.
Documentation
Which components support image binding?
The following components support image binding:
ff-recordff-suggest-itemff-asn-group-element
Understanding image binding
By default, src="{{image}}" will be added to all children of an image binding element that have a data-image attribute.
For example, this ff-suggest would show the suggested product's image:
<ff-suggest>
<section class="productsContainer">
<ff-suggest-item type="productName">
<img width="100" height="100" data-image />
</ff-suggest-item>
</section>
</ff-suggest>You can overwrite the default binding by providing a value for the data-image attribute.
See the API tab for further supported attributes on image binding elements.
API code
Properties
Last updated
Was this helpful?