mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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