5 lines
37 KiB
JSON
5 lines
37 KiB
JSON
|
{
|
||
|
"id": "api/animations/AnimationPlayer",
|
||
|
"title": "AnimationPlayer",
|
||
|
"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/AnimationPlayer\", \"name\": \"AnimationPlayer\" } }\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...#L9-L107\" 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#L9-L107\" 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=\"animationplayer\">AnimationPlayer<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/AnimationPlayer#animationplayer\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label interface\">interface</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>Provides programmatic control of a reusable animation sequence,\nbuilt using the <code>build()</code> method of <code><a href=\"api/animations/AnimationBuilder\" class=\"code-anchor\">AnimationBuilder</a></code>. The <code>build()</code> method\nreturns a factory, whose <code>create()</code> method instantiates and initializes this interface.</p>\n\n \n </section>\n \n \n <section class=\"interface-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\ninterface <a href=\"api/animations/AnimationPlayer\" class=\"code-anchor\">AnimationPlayer</a> {\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#parentPlayer\"><span class=\"member-name\">parentPlayer</span>: AnimationPlayer | null</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#totalTime\"><span class=\"member-name\">totalTime</span>: number</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#beforeDestroy\"><span class=\"member-name\">beforeDestroy</span>?: () => any</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#onDone\"><span class=\"member-name\">onDone</span>(fn: () => void): void</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#onStart\"><span class=\"member-name\">onStart</span>(fn: () => void): void</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#onDestroy\"><span class=\"member-name\">onDestroy</span>(fn: () => void): void</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#init\"><span class=\"member-name\">init</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#hasStarted\"><span class=\"member-name\">hasStarted</span>(): boolean</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#play\"><span class=\"member-name\">play</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#pause\"><span class=\"member-name\">pause</span>(): void</a>\n <a class=\"code-anchor\" href=\"api/animations/AnimationPlayer#restart\"><span class=\"member-name\">restart</span>(): void</a>\n <a class=\"
|
||
|
}
|