This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
td colspan example in Template Syntax guide #2642
Open
Description
Looking at https://angular.io/docs/ts/latest/guide/template-syntax.html#!#other-bindings I see this:
As the message says, the element does not have a colspan property. It has the "colspan" attribute, but interpolation and property binding can set only properties, not attributes.
This is technically correct, but according to MDN table cells do have a colSpan
property that maps to the colspan
attribute, so this seems like a poor example of when an attr.
attribute binding is required.