mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
display error when animation polyfill missing
This commit is contained in:
@ -42,6 +42,10 @@ export class Animation {
|
||||
this._finishes = [];
|
||||
|
||||
this.elements(ele);
|
||||
|
||||
if (!document.documentElement.animate) {
|
||||
console.error('Web Animations polyfill missing');
|
||||
}
|
||||
}
|
||||
|
||||
elements(ele) {
|
||||
|
Reference in New Issue
Block a user