angular-cn/aio/dist/generated/docs/api/animations/NoopAnimationPlayer.json

5 lines
114 KiB
JSON

{
"id": "api/animations/NoopAnimationPlayer",
"title": "NoopAnimationPlayer",
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/animations\", \"name\": \"@angular/animations\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/animations/NoopAnimationPlayer\", \"name\": \"NoopAnimationPlayer\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/animations\">@angular/animations</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L108-L201\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L108-L201\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"noopanimationplayer\">NoopAnimationPlayer<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#noopanimationplayer\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label class\">class</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>An empty programmatic controller for reusable animations.\nUsed internally when animations are disabled, to avoid\nchecking for the null case when an animation player is expected.</p>\n\n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/animations/NoopAnimationPlayer\" class=\"code-anchor\">NoopAnimationPlayer</a> implements <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer\">AnimationPlayer</a> {\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#constructor()\"><span class=\"member-name\">constructor</span>(duration: number = 0, delay: number = 0)</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#parentPlayer\"><span class=\"member-name\">parentPlayer</span>: AnimationPlayer | null</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#totalTime\"><span class=\"member-name\">totalTime</span>: number</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#onStart\"><span class=\"member-name\">onStart</span>(fn: () => void): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#onDone\"><span class=\"member-name\">onDone</span>(fn: () => void): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#onDestroy\"><span class=\"member-name\">onDestroy</span>(fn: () => void): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#hasStarted\"><span class=\"member-name\">hasStarted</span>(): boolean</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#init\"><span class=\"member-name\">init</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#play\"><span class=\"member-name\">play</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#pause\"><span class=\"member-name\">pause</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#restart\"><span class=\"member-name\">restart</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#finish\"><span class=\"member-name\">finish</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#destroy\"><span class=\"member-name\">destroy</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#reset\"><span class=\"member-name\">reset</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#setPosition\"><span class=\"member-name\">setPosition</span>(position: number): void</a>\n <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer#getPosition\"><span class=\"member-name\">getPosition</span>(): number</a>\n}\n</code-example>\n\n \n \n <div class=\"descendants class\">\n <h2 id=\"subclasses\">Subclasses<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#subclasses\"><i class=\"material-icons\">link</i></a></h2>\n \n\n<ul>\n \n <li>\n <code><a href=\"api/animations/browser/testing/MockAnimationPlayer\" class=\"code-anchor\">MockAnimationPlayer</a></code>\n \n\n\n </li>\n \n</ul>\n\n\n </div>\n \n\n</section>\n\n\n \n<section class=\"see-also\">\n <h2 id=\"see-also\">See also<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#see-also\"><i class=\"material-icons\">link</i></a></h2>\n <ul>\n \n <li><p><code><a href=\"api/animations/animate\" class=\"code-anchor\">animate</a>()</code></p>\n</li>\n <li><p><code><a href=\"api/animations/AnimationPlayer\" class=\"code-anchor\">AnimationPlayer</a></code></p>\n</li>\n <li><p><code>GroupPlayer</code></p>\n</li>\n </ul>\n</section>\n\n\n \n \n \n\n\n\n\n\n\n<h2 id=\"constructor\">Constructor<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#constructor\"><i class=\"material-icons\">link</i></a></h2>\n<a id=\"constructor()\"></a>\n<table class=\"is-full-width method-table constructor\">\n \n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">constructor</span>(duration: number = 0, delay: number = 0)</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table constructor-overload-parameters\">\n <tbody>\n \n <tr class=\"constructor-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>duration</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/common/DecimalPipe\" class=\"code-anchor\">number</a></code></td>\n <td class=\"param-description\">\n <p>Optional. Default is <code>0</code>.</p>\n \n </td>\n </tr>\n <tr class=\"constructor-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>delay</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/common/DecimalPipe\" class=\"code-anchor\">number</a></code></td>\n <td class=\"param-description\">\n <p>Optional. Default is <code>0</code>.</p>\n \n </td>\n </tr>\n </tbody>\n</table>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n\n\n\n<section class=\"instance-properties\">\n <h2 id=\"properties\">Properties<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#properties\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table property-table\">\n <thead>\n <tr>\n <th>Property</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"parentPlayer\"></a>\n <code class=\"\"><span class=\"member-name\">parentPlayer</span>: <a href=\"api/animations/AnimationPlayer\" class=\"code-anchor\">AnimationPlayer</a> | null</code>\n </td>\n <td>\n \n \n \n </td>\n </tr>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"totalTime\"></a>\n <code class=\"\"><span class=\"member-name\">totalTime</span>: number</code>\n </td>\n <td><span class=\"read-only-property\">Read-Only</span>\n \n \n \n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n\n\n\n<section class=\"instance-methods\">\n <h2 id=\"methods\">Methods<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#methods\"><i class=\"material-icons\">link</i></a></h2>\n \n <a id=\"onStart\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"onstart\">\n onStart()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#onstart\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L140-L142\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L140-L142\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">onStart</span>(fn: () => void): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-1\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>fn</code>\n </td>\n <td class=\"param-type\"><code>() => void</code></td>\n <td class=\"param-description\">\n \n \n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"onDone\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"ondone\">\n onDone()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#ondone\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L143-L145\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L143-L145\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">onDone</span>(fn: () => void): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-2\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>fn</code>\n </td>\n <td class=\"param-type\"><code>() => void</code></td>\n <td class=\"param-description\">\n \n \n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-1\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"onDestroy\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"ondestroy\">\n onDestroy()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#ondestroy\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L146-L148\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L146-L148\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">onDestroy</span>(fn: () => void): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-3\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>fn</code>\n </td>\n <td class=\"param-type\"><code>() => void</code></td>\n <td class=\"param-description\">\n \n \n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-2\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"hasStarted\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"hasstarted\">\n hasStarted()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#hasstarted\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L149-L151\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L149-L151\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">hasStarted</span>(): boolean</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-4\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-3\">Returns</h6>\n <p><code>boolean</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"init\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"init\">\n init()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#init\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L152-L152\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L152-L152\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">init</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-5\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-4\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"play\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"play\">\n play()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#play\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L153-L159\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L153-L159\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">play</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-6\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-5\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"pause\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"pause\">\n pause()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#pause\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L170-L171\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L170-L171\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">pause</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-7\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-6\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"restart\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"restart\">\n restart()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#restart\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L172-L172\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L172-L172\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">restart</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-8\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-7\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"finish\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"finish\">\n finish()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#finish\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L173-L175\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L173-L175\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">finish</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-9\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-8\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"destroy\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"destroy\">\n destroy()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#destroy\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L176-L186\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L176-L186\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">destroy</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-10\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-9\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"reset\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"reset\">\n reset()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#reset\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L187-L187\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L187-L187\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">reset</span>(): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-11\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-10\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"setPosition\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"setposition\">\n setPosition()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#setposition\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L188-L190\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L188-L190\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">setPosition</span>(position: number): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-12\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>position</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/common/DecimalPipe\" class=\"code-anchor\">number</a></code></td>\n <td class=\"param-description\">\n \n \n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-11\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"getPosition\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"getposition\">\n getPosition()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/NoopAnimationPlayer#getposition\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L191-L193\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L191-L193\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">getPosition</span>(): number</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-13\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-12\">Returns</h6>\n <p><code><a href=\"api/common/DecimalPipe\" class=\"code-anchor\">number</a></code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n</section>\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/animations\n - api/animations/AnimationPlayer\n - api/animations/browser/testing/MockAnimationPlayer\n-->\n<!-- links from this doc:\n - /api\n - api/animations\n - api/animations/AnimationPlayer\n - api/animations/NoopAnimationPlayer#constructor\n - api/animations/NoopAnimationPlayer#constructor()\n - api/animations/NoopAnimationPlayer#destroy\n - api/animations/NoopAnimationPlayer#finish\n - api/animations/NoopAnimationPlayer#getPosition\n - api/animations/NoopAnimationPlayer#getposition\n - api/animations/NoopAnimationPlayer#hasStarted\n - api/animations/NoopAnimationPlayer#hasstarted\n - api/animations/NoopAnimationPlayer#init\n - api/animations/NoopAnimationPlayer#methods\n - api/animations/NoopAnimationPlayer#noopanimationplayer\n - api/animations/NoopAnimationPlayer#onDestroy\n - api/animations/NoopAnimationPlayer#onDone\n - api/animations/NoopAnimationPlayer#onStart\n - api/animations/NoopAnimationPlayer#ondestroy\n - api/animations/NoopAnimationPlayer#ondone\n - api/animations/NoopAnimationPlayer#onstart\n - api/animations/NoopAnimationPlayer#parentPlayer\n - api/animations/NoopAnimationPlayer#pause\n - api/animations/NoopAnimationPlayer#play\n - api/animations/NoopAnimationPlayer#properties\n - api/animations/NoopAnimationPlayer#reset\n - api/animations/NoopAnimationPlayer#restart\n - api/animations/NoopAnimationPlayer#see-also\n - api/animations/NoopAnimationPlayer#setPosition\n - api/animations/NoopAnimationPlayer#setposition\n - api/animations/NoopAnimationPlayer#subclasses\n - api/animations/NoopAnimationPlayer#totalTime\n - api/animations/animate\n - api/animations/browser/testing/MockAnimationPlayer\n - api/common/DecimalPipe\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L108-L201\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L140-L142\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L143-L145\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L146-L148\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L149-L151\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L152-L152\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L153-L159\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L170-L171\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L172-L172\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L173-L175\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L176-L186\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L187-L187\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L188-L190\n - https://github.com/angular/angular/edit/master/packages/animations/src/players/animation_player.ts?message=docs(animations)%3A%20describe%20your%20change...#L191-L193\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L108-L201\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L140-L142\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L143-L145\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L146-L148\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L149-L151\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L152-L152\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L153-L159\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L170-L171\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L172-L172\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L173-L175\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L176-L186\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L187-L187\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L188-L190\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/animations/src/players/animation_player.ts#L191-L193\n-->"
}