Article

binding

Associates information in a data item with an element.

Overview

Use the binding attribute to associate the property path in a data item with an element.

Values for binding

@<attribute>:{value}

The attribute tag and value. For example, <img binding=”@src:{url};”/> adds the src attribute with the URL found in the associated data item.

items:{property path}

The item associated with the specified property path.

textContent:{property path}

The text associated with the specified property path.

Elements that Use binding

The binding attribute can be used with any element.

See Also

Binding and DOM Manipulation

itemID

Mark elements for reuse during DOM updates.

prototype

Associates a data item type with an element.

needsMoreThreshold

Sets the amount of remaining screen lengths before firing the needs more event.