What is the best solution to solve requestanimationframe is not defined in angular?
Answer / Vandna Arya
The 'requestAnimationFrame' is a method provided by the browser, but it may not be supported in some older browsers. To fix this issue, you can use polyfill for 'requestAnimationFrame'. In Angular, add 'es6-shim' and 'web-animations-js' to your polyfills.ts file.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is pipe in networking?
What is the use of @Input and @Output?
What is transclusion in angular?
What is in angular url?
What are static and public in angular?
Explain how routing works in angularjs?
What is the difference between angularjs and angular 2?
Is angularjs difficult to learn?
Is angular difficult to learn?
When to use factory?
What is i18n and L10n?
Can you define multiple restrict options on a directive?