I'm just using the mmenu script and I got an IE11 a syntax error on this line.
"DOMContentLoaded", () => {
The whole code looks like here
document.addEventListener(
"DOMContentLoaded", () => {
new Mmenu( "#my-menu" );
}
);
Code is out of the official documentation -> https://mmenujs.com/docs/core/
I tried some different solution i found with function(), etc. But non of them work for me. Maybe some one else got this problem and can help me out.
Update:
Now i got Object doesn't support property or method 'append' on IE11
document.addEventListener("DOMContentLoaded", function() {
new Mmenu( "#menu", {
"extensions": [
"pagedim-black",
"position-right"
],
navbar : {
title : " "
},
"navbars": [
{
"position": "top",
"content": [
"prev",
"title"
]
},
{
"position": "bottom",
"content": [
"<div class='navshort'></div>",
]
}
]
});
} );
as per mmenu doc, https://mmenujs.com/docs/
for IE 10 and 11 you need polyfills