mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(cancelAnimationFrame): polyfill in ionic.DomUtil
This commit is contained in:
@@ -47,10 +47,11 @@
|
||||
* happens.
|
||||
*/
|
||||
requestAnimationFrame: function(cb) {
|
||||
window._rAF(cb);
|
||||
return window._rAF(cb);
|
||||
},
|
||||
|
||||
cancelAnimationFrame: function(cb) {
|
||||
cancelAnimationFrame: function(requestId) {
|
||||
cancelAnimationFrame(requestId);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user