parent
ac50bd678e
commit
dfa0973563
@ -5,9 +5,6 @@
|
|||||||
<title>Animations</title>
|
<title>Animations</title>
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<!-- Polyfill for Web Animations -->
|
|
||||||
<script src="https://unpkg.com/web-animations-js@2.2.1"></script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -16,9 +16,7 @@ animation logic with the rest of your application code, for ease of control.
|
|||||||
Angular animations are built on top of the standard [Web Animations API](https://w3c.github.io/web-animations/)
|
Angular animations are built on top of the standard [Web Animations API](https://w3c.github.io/web-animations/)
|
||||||
and run natively on [browsers that support it](http://caniuse.com/#feat=web-animation).
|
and run natively on [browsers that support it](http://caniuse.com/#feat=web-animation).
|
||||||
|
|
||||||
For other browsers, a polyfill is required. Grab
|
For other browsers, a polyfill is required. Uncomment the `web-animations-js` polyfill from the `polyfills.ts` file.
|
||||||
[`web-animations.min.js` from GitHub](https://github.com/web-animations/web-animations-js) and
|
|
||||||
add it to your page.
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user