Releases: vsn4ik/bootstrap-submenu
Releases · vsn4ik/bootstrap-submenu
v3.0.1
v3.0.0
Work fine with Bootstrap 4.1.0.
New documentation.
Changelog: v2.0.4...v3.0.0
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
[data-toggle="dropdown"]
is required for [data-submenu]
.
.dropdown-submenu > [data-toggle="dropdown"]
is forbidden.
Example HTML:
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" data-submenu>Dropdown</button>
<ul class="dropdown-menu">
<li><a tabindex="0">Action</a></li>
<li class="dropdown-submenu">
<a tabindex="0">Another action</a>
<ul class="dropdown-menu">
<li class="dropdown-header">Dropdown header</li>
<li><a tabindex="0">Sub action</a></li>
<li class="disabled"><a tabindex="0">Another sub action</a></li>
<li><a tabindex="0">Something else here</a></li>
</ul>
</li>
<li><a tabindex="0">Something else here</a></li>
<li class="divider"></li>
<li><a tabindex="0">Separated link</a></li>
</ul>
</div>
Example js:
$('[data-submenu]').submenupicker();