Skip to content
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
@mattdistefano

Description

@mattdistefano

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions