You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for your great work. I really love your Slinky. And I am trying to combine it with Bootstrap 4. I want when user click on Dropdown button, it will show Slinky menu instead of Bootstrap's normal dropdown menu.
Hum... A quick response: You need to use BS dropdown methods for that.
$('.dropdown-menu').on('show.bs.dropdown', function () {
window.slinky = $('#menu').slinky();
})
Also, might want to destroy it once the dropdown is closed
$('#myDropdown').on('show.bs.dropdown', function () {
window.slinky.destroy();
})
Hi, thank you for your great work. I really love your Slinky. And I am trying to combine it with Bootstrap 4. I want when user click on Dropdown button, it will show Slinky menu instead of Bootstrap's normal dropdown menu.
I tried to do it here: https://codepen.io/nht910/pen/wvMPOOy . But it doesn't seem to work.
And I am just a newbie so I have no idea to fix it. Can you please help me to fix it?
Thank you so so much.
P/s: sorry for my bad English.
The text was updated successfully, but these errors were encountered: