-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IE Polyfill required #49
Comments
It looks that the polyfill link provided doesn't work 😢, but I will include the polyfill from https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent. Thanks! |
I'm using the mentioned polyfill from Polyfill.io in a browser and it works fine🤔, but I think the polyfill code won't show if the UA is unknown / supported. |
I wanted to implement this, but found out that this Polyfill is not included in Babel: zloirock/core-js#354 (comment). I will add a message on README. Thanks! |
For anyone having this problem, please include the CustomEvent polyfill for Internet Explorer, before the vanilla-tilt.js:
Polyfill urls: |
(index):56 Uncaught ReferenceError: VanillaTilt is not defined |
Since this library uses the CustomEvent API it will throw an error on IE.
The following Polyfill works fine and should be included in the babel version:
https://polyfill.io/v3/polyfill.min.js?features=CustomEvent
The text was updated successfully, but these errors were encountered: