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