5 lines
114 KiB
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>(
|
||
|
}
|