angular-cn/packages/animations
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
..
browser fix(platform-browser): update started state on reset (#41608) 2021-05-25 20:28:41 +00:00
src fix(platform-browser): update started state on reset (#41608) 2021-05-25 20:28:41 +00:00
test fix(animations): implement getPosition in browser animation builder (#39983) 2020-12-08 16:24:41 -08:00
BUILD.bazel build: provide full paths to `ts_api_guardian_test_npm_package` and `ts_api_guardian_test` (#36034) 2020-03-12 09:49:00 -07:00
PACKAGE.md build(docs-infra): implement the 'package' API template (#24631) 2018-07-13 19:45:54 -04:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build(animations): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:45 +00:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00