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.

Document the options parameter of $animate functions #12645

Closed
@djdmbrwsk

Description

@djdmbrwsk

Unless I missed it, there is no documentation explaining the options parameter that is optional in a bunch of the $animate service's functions. Ex:

$animate.enter(element, parent, [after], [options]);

I just spent a bit digging through the source to finally find you can pass in an object like this:

{
  addClass: 'some-new-class',
  removeClass: ' some-old-class'
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions