Attribute Binding
You must use attribute binding when there is no element property to bind.
e.g. ARIA, SVG, and table span attributes are pure attributes.
When you write something like this
you get this error
the <td> element does not have a colspan property. It has the "colspan" attribute, but interpolation and property binding can set only properties, not attributes.
Instead, you have to write like this
Last updated
Was this helpful?