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
Description
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'
}