bootstrap-submenu
bootstrap-submenu copied to clipboard
Additional Events
Hello
We have some code we want to run when the sub-menu is opened.
In new bootstrap versions the are some additional events that would help us do this - documentation.
I have added the following new events (triggered on <li class="dropdown-submenu">
):
-
show.bs.submenu
-
shown.bs.submenu
Would this be suitable to merge? Are there any additional events I should add?
Maybe you could add hide.bs.submenu
and hidden.bs.submenu
.
I think the hide event is already triggered but I will add hidden 👍
Just to be closer to Bootstrap standard events. ;)