5 lines
29 KiB
JSON
5 lines
29 KiB
JSON
|
{
|
||
|
"id": "api/animations/animate",
|
||
|
"title": "animate",
|
||
|
"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/animate\", \"name\": \"animate\" } }\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/animation_metadata.ts?message=docs(animations)%3A%20describe%20your%20change...#L603-L667\" 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/animation_metadata.ts#L603-L667\" 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=\"animate\">animate<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/animations/animate#animate\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label function\">function</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>Defines an animation step that combines styling information with timing information.</p>\n\n \n </section>\n \n \n \n\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"> <span class=\"member-name\"><a href=\"api/animations/animate\" class=\"code-anchor\">animate</a></span>(timings: string | <a href=\"api/common/DecimalPipe\" class=\"code-anchor\">number</a>, styles: <a href=\"api/animations/AnimationStyleMetadata\" class=\"code-anchor\">AnimationStyleMetadata</a> | <a href=\"api/animations/AnimationKeyframesSequenceMetadata\" class=\"code-anchor\">AnimationKeyframesSequenceMetadata</a> = null): <a href=\"api/animations/AnimationAnimateMetadata\" class=\"code-anchor\">AnimationAnimateMetadata</a></code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table function-overload-parameters\">\n <tbody>\n \n <tr class=\"function-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>timings</code>\n </td>\n <td class=\"param-type\"><code>string | <a href=\"api/common/DecimalPipe\" class=\"code-anchor\">number</a></code></td>\n <td class=\"param-description\">\n <p>Sets <code><a href=\"api/animations/AnimateTimings\" class=\"code-anchor\">AnimateTimings</a></code> for the parent animation.\nA string in the format \"duration [delay][easing]\".</p>\n<ul>\n<li>Duration and delay are expressed as a number and optional time unit,\nsuch as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\nThe default unit is milliseconds.</li>\n<li>The easing value controls how the animation accelerates and decelerates\nduring its runtime. Value is one of <code>ease</code>, <code>ease-in</code>, <code>ease-out</code>,\n<code>ease-in-out</code>, or a <code>cubic-bezier()</code> function call.\nIf not supplied, no easing is applied.</li>\n</ul>\n<p>For example, the string \"1s 100ms ease-out\" specifies a duration of\n1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\nwhich decelerates near the e
|
||
|
}
|