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.

ngAnimate - Providing only keyframe/keyframeStyles to $animateCss does nothing #12124

Closed
@intellix

Description

@intellix

After realising that keyframe should actually be keyframeStyles for $animateCss I see that passing keyframeStyles alone will decide that there's nothing to do and return: closeAndReturnNoopAnimator().

To get around this I have to do something like:

$animateCss(ele, { 
  keyframeStyles: '1s my-anim ease',
  addClass: 'meh'
});

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions