5 lines
169 KiB
JSON
Raw Permalink Normal View History

{
"id": "api/animations/browser/testing/MockAnimationPlayer",
"title": "MockAnimationPlayer",
"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/browser/testing\", \"name\": \"@angular/animations/browser/testing\" } },\n { \"@type\": \"ListItem\", \"position\": 4, \"item\": { \"@id\": \"https://angular.io/api/animations/browser/testing/MockAnimationPlayer\", \"name\": \"MockAnimationPlayer\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/animations\">@angular/animations</a> > <a href=\"api/animations/browser/testing\">@angular/animations/browser/testing</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/animations/browser/testing/src/mock_animation_driver.ts?message=docs(animations)%3A%20describe%20your%20change...#L47-L130\" 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/browser/testing/src/mock_animation_driver.ts#L47-L130\" 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=\"mockanimationplayer\">MockAnimationPlayer<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/browser/testing/MockAnimationPlayer#mockanimationplayer\"><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 \n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/animations/browser/testing/MockAnimationPlayer\" class=\"code-anchor\">MockAnimationPlayer</a> extends <a class=\"code-anchor\" href=\"api/animations/NoopAnimationPlayer\">NoopAnimationPlayer</a> {\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#constructor()\"><span class=\"member-name\">constructor</span>(element: any, keyframes: { [key: string]: string | number; }[], duration: number, delay: number, easing: string, previousPlayers: any[])</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#previousStyles\"><span class=\"member-name\">previousStyles</span>: {...}</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#currentSnapshot\"><span class=\"member-name\">currentSnapshot</span>: ɵStyleData</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#element\"><span class=\"member-name\">element</span>: any</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#keyframes\"><span class=\"member-name\">keyframes</span>: {...}</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#duration\"><span class=\"member-name\">duration</span>: number</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#delay\"><span class=\"member-name\">delay</span>: number</a>\n <a class=\"code-anchor\" href=\"api/animations/browser/testing/MockAnimationPlayer#easing\"><span class=\"member-name\">easing</span>: string</a>\n <a class=\"code-anchor\" href=\"api/anima
}