CustomEvent is not newable in IE11
Opened this issue · 0 comments
iwate commented
Hi,
ripples.js is very good! However an error has occurred in IE11.
the error in line 48
rippleEnd = new CustomEvent("rippleEnd", {detail: $ripple}),
IE11's CustomEvent is not able to new
.
I add some code and use in my project.
It is following code and exec in if browser's CustomEvent is not newable.
rippleEnd = document.createEvent("CustomEvent");
rippleEnd.initCustomEvent("rippleEnd", false, false, { detail: $ripple });
for your information.
I thank you for reading my funny english through.