angular-cn/packages/animations/src
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
..
players fix(platform-browser): update started state on reset (#41608) 2021-05-25 20:28:41 +00:00
animation_builder.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
animation_event.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
animation_metadata.ts docs(animations): a small typo (#37164) 2020-12-08 09:22:22 -08:00
animations.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
util.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
version.ts Revert "refactor(core): optimize calls to `split` and `slice` while computing version parts (#41208)" 2021-05-12 14:13:50 -04:00