Skip to content

angular changes class.* bindings to camelCase. #1109

@ajoslin

Description

@ajoslin

This will set the dashCase class on the button to true or false depending upon the value of binding.

<button [class.dash-case]="binding"></button>

I know dash-case to camelCase conversion is actually a "feature" built into the attribute parser, but it should have exceptions in cases like this.

The last thing I would expect is for angular to camel my classNames.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions