Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng:class{,-odd,-even} shouldn't reset element classes #355

@groner

Description

@groner

ng:class remembers the classes present at compile time and resets the target element's classes whenever $eval() is run. Any other classes that have been added or removed since the element was compiled are reset.

I have prepared an example showing how this breaks the jQueryUI selectable widget.
http://jsfiddle.net/gronky/XsHqL/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions