src/js/components/app.js
right after the initModal function and call it under the init function right after initModal call and recompile your assets with gulp or webpack. Then you will be able to activate the tabs using var initTabs = function() {
const hash = decodeURIComponent(window.location.hash).replace(/\s/g, '-').substring(1);
let tabEl = document.querySelector('[data-bs-toggle][data-bs-target="#' + hash + '"]');
if (!tabEl) {
tabEl = document.querySelector('[data-bs-toggle="pill"][href="#' + hash + '"]');
}
if (!tabEl) {
tabEl = document.querySelector('[data-bs-toggle="tab"][href="#' + hash + '"]');
}
if (tabEl) {
bootstrap.Tab.getOrCreateInstance(tabEl).show();
}
}
js/components/menu.js
// Default Options
var defaultOptions = {
dropdown: {
hoverTimeout: 200,
zindex: 107
},
accordion: {
slideSpeed: 250,
expand: false
}
};
We will consider exposing this parameter to the HTML attribute level in a future update.
Please give it a try and please let us know the result.
Regards.