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
The opened < ul> element not collapse on click the <li> which do not have child <ul>.and also want to add active class to the <li> to those which do not have child<ul>
#180
Open
reason706 opened this issue
Apr 27, 2019
· 0 comments
Actually what i want is to collapse the opened submenu while clicking the <li> element which do not have sub menu like the first one in the below example . and also want to add active to this <li> .
<ul id="metismenu">
// this li tag don't have submenu
<li>
<a class="" href="#" aria-expanded="true">Menu 1</a>
</li>
<li class="">
<a class="has-arrow" href="#" aria-expanded="true">Menu 1</a>
<ul>
...
</ul>
</li>
<li>
<a class="has-arrow" href="#" aria-expanded="false">Menu 2</a>
<ul>
...
</ul>
</li>
...
</ul>
The text was updated successfully, but these errors were encountered:
Actually what i want is to collapse the opened submenu while clicking the
<li>
element which do not have sub menu like the first one in the below example . and also want to add active to this<li>
.The text was updated successfully, but these errors were encountered: