angular-docs-cn/packages/platform-browser/animations/test
iRealNirmal 3a6af8e629 fix(platform-browser): update started state on reset (#41608)
This commit fixes the state of variable _started on call of reset method.

Earlier behaviour was on call of `reset()` method we are not setting back
`_started` flag's value to false and it created various issue for end user
which were expecting this behaviour as per name of method.

We provided end user `reset()` method, but it was empty method and on call
of it wasn't doing anything. As end user/developer were not able to
reuse animation not animation after call of reset method.

In this PR on call of `reset()` method we are setting flag `_started` value to false
which can be accessed by `hasStarted()`.

Resolves #18140

PR Close #41608
2021-05-25 20:28:41 +00:00
..
BUILD.bazel test(platform-browser): remove IE9 and IE10 checks from tests (#39090) 2020-10-13 15:51:48 -07:00
animation_renderer_spec.ts fix(animations): cleanup DOM elements when the root view is removed (#41059) 2021-03-22 12:58:11 -07:00
browser_animation_builder_spec.ts fix(platform-browser): update started state on reset (#41608) 2021-05-25 20:28:41 +00:00
noop_animations_module_spec.ts feat(animations): add support for disabling animations through BrowserAnimationsModule.withConfig (#40731) 2021-02-24 15:08:27 -08:00