Thanks to visit codestin.com
Credit goes to github.com

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.

setClass should be broken up into addClass + removeClass JS animations #6463

Closed
@matsko

Description

@matsko

setClass is run when ngClass changes and both addClass and removeClass are run at the same time. This works fine, but it also requires a setClass animation to be defined within the JS animations.

This because annoying when you have to watch for CSS class changes within addClass, removeClass and setClass. Instead setClass should break down to addClass and removeClass if setClass is not defined on the animation.

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